Friday, January 27, 2012

ENTERNAL_COMMANDS_SYNTAX_4



TIME
            It displays or sets the system time .Used without parameters TIME displays the system time and prompts you to enter a new time.

Syntax

TIME[hour]:[minutes][:second]][{a|p}]]

Parameters

hours

            Specifies 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.
[a|p]

            Specifies A.M or P.M. for the 12- hour time format

Example

            C:\>TIME 12:25:30-----------press enter
                        Sets current time as specified
            C:\TIME -----------PRESS ENTER
                        Display the current time and prompts to set new time.

Date
            It display the current system date setting .Type Date without parameters to display current date setting and a prompt for a new one.Press Enter to keep the same date.To set new date,enter new date in mm-dd-yy format.

Sysntax

            DATE [MM-DD-YY]

Parameters
           
            mm-dd-yy
            Sets the date specified where mm is moth,dd is day and yy is year.
            The value is mm is 1 to 12 dd is 1-31 and yy  is 1980 – 2099

No comments:

Post a Comment