Hi,
What is the alternated commnad in Winodws XP for the "time" command in Linux?
Hi,
What is the alternated commnad in Winodws XP for the "time" command in Linux?
use the command date.
Regards,
Anoop :)
If its useful, dont forget to [COLOR="Red"]THANK[/COLOR] me :cool:
Hi,
Command is timedate.cpl
Regards,
Rakesh
fine rakesh
time [/t] [/time] [hours:[minutes[:seconds[.hundredths]]][{A|P}]]
Parameters
/t
Displays the current system time, without prompting you to enter a new time.
/time
Same as /t.
hours
Specifies the hour. Valid values are in the range 0 through 23.
minutes
Specifies minutes. Valid values are in the range 0 through 59.
seconds
Specifies seconds. Valid values are in the range 0 through 59.
hundredths
Specifies hundredths of a second. Valid values are in the range 0 through 99.
{A|P}
Specifies A.M or P.M. for the 12-hour time format. If you type a valid 12-hour time but do not type A or P, time uses A for A.M.
If you specify the time in an invalid format the following message is displayed and the system then waits for you to enter the time in the correct format:
Invalid time
Enter new time:_
Changing the time format
You can change the time format by changing the setting in Date and Time in Control Panel. For just the MS-DOS subsystem, change the country setting in your Config.nt file. Depending on the Country/Region selected, time is displayed in the 12-hour format or the 24-hour format. If you are setting the time in the 12-hour format, specify P for hours after noon.
Examples
To set your computer clock to 110:03 am., type either of the following commands:
time 10:03