How to Set Date Using CMD

DATE

Purpose:Displays or sets the date.

Syntax: 

To Set Date:Date [mm-dd-yyyy]

To Display Date:Date /t

Prameters:

mm-dd-yyyy: sets the date specified 

/t: Displays the current date without prompting you for a new date.

/?: Display help at command prompt.


Example: Date 12-10-2017 and hit enter to set date 

                      

Comments

Popular posts from this blog

How to use DIR Command

How to Write Your First Batch Script Progarm