Microsoft Windows XP Professional Administrators Guide

Time

Displays system time or changes the computer's internal clock.

Syntax

time [/t] [hours:[minutes[:seconds[.hundredths]]] [A|P]]

Parameters

 

Parameter

Purpose


None

Displays the computer's clock time and prompts for the new time.

[/t]

Displays current time without prompting to change the time.

[hours]

Sets the hour.

[minutes]

Sets the minutes.

[seconds]

Sets the seconds.

[hundredths]

Sets hundredths of a second.

[A|P]

Sets A.M or P.M. for the 12-hour format.

Категории