Change time by clicking on . bat in windows

Noor picture Noor · Feb 6, 2011 · Viewed 21.1k times · Source

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

Answer

BlackBear picture BlackBear · Feb 6, 2011

use the time and date commands:

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