RunAsDate is a small utility that allows you to run a program in the date and time that you specify. RunAsDate will not change the current system date and time of your PC, but it only injects the date/time that you specify into the desired application.
You can run multiple applications simultaneously, each application works with different date and time, while the real date/time of your system continues to run normally.
How does it work?
RunAsDate intercepts the kernel API calls that returns the current date and time (GetSystemTime, GetLocalTime, GetSystemTimeAsFileTime), and replaces the current date/time with the date/time that you specify.
Using RunAsDate
RunAsDate doesn´t require any installation process or additional DLL files. In order to start using it, simply copy the executable file (RunAsDate.exe) to any folder you like, and run it.
In the main window of RunAsDate, select the desired date and time and the application that you want to run. Optionally, you can also specify the command-line parameters to run the program. Press the "Run" button to start the application with the specified date/time.
Using RunAsDate from Command-Line
You can also use RunAsDate from command-line, with the following syntax: RunAsDate.exe [ddmmyyyy] {hh:mm:ss} [Program to run] {Program parameters}
Examples:
RunAsDate.exe 22102002 12:35:22 "C:Program FilesMicrosoft OfficeOFFICE11OUTLOOK.EXE" RunAsDate.exe 14 22005 "c:tempmyprogram.exe" param1 param2
-
RunAsDate only works on 32-bit Windows applications. You cannot use it for old DOS 16-bit programs or for 64-bit Windows applications.
-
RunAsDate will not affect applications that take the current date/time from another source. For example: application that loads the current date from remote server.
What´s New in version 1.16:
-
Fixed bug: RunAsDate removed a quote character when using it in the {Program parameters} section of the command-line string.
|