Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change time by clicking on . bat in windows

I am developing a system where several i'm having to change date to Sunday February 06 3:30:50 AM.

Is there any way to create a .bat so that by clicking on it, the system automatically changes

like image 511
Noor Avatar asked Dec 17 '22 17:12

Noor


2 Answers

use the time and date commands:

time 03:30:50
date 06/02/2011
like image 153
BlackBear Avatar answered Dec 19 '22 06:12

BlackBear


Answer obtained from BlackBear and Joey:

Run cmd as Administrator Then type commands such as :

time 03:30:50 date 06/02/2011

like image 32
Noor Avatar answered Dec 19 '22 06:12

Noor