How to change Date & Time of the System through the Command Prompt
, here are the steps on how to change the date and time of the system through the Command Prompt:
Open the Command Prompt. To do this, type cmd into the Start menu search bar and press Enter.
To change the date, type the following command into the Command Prompt and press Enter:
date mm-dd-yyyy
Replace mm-dd-yyyy with the new date you want to set. For example, to set the date to October 4, 2023, you would type:
date 10-04-2023
To change the time, type the following command into the Command Prompt and press Enter:
time hh:mm:ss AM/PM
Replace hh:mm:ss AM/PM with the new time you want to set. For example, to set the time to 12:30 PM, you would type:
time 12:30:00 PM
The date and time will be changed immediately. You can verify the new date and time by typing the following commands into the Command Prompt and pressing Enter:
date
time
Here is an example of how to change the date and time of the system to October 4, 2023, at 12:30 PM:
date 10-04-2023
time 12:30:00 PM
The Command Prompt will display the following message:
The current date is: Tue 10-04-2023
The current time is: 12:30:00 PM
The date and time of the system has been changed successfully.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.