Chrono Mock
A downloadable tool for Windows
Chrono Mock is a tool for testers and developers: run one application as if it were a different date, and find out whether it actually worked. Set the clock to next year, freeze it, or speed it up so a 30-day trial expires in half an hour. The rest of the machine keeps the real time - your domain logon, your certificates and every other application carry on as normal. Like RunAsDate, with the parts that were missing: acceleration, an independent time zone, child processes, and a verdict that tells you which time channels the substitution actually covered. On Linux libfaketime has done this for years. On Windows there has been nothing comparable.
⭐ If it saved you a 30-day wait, leave a star on GitHub. That is how the next tester who needs it finds out it exists.
What it can do
- Any moment, absolute or relative - a specific date and time, or
+30 days,-1 year. - Flowing, frozen, or accelerated - run from the shifted point at normal speed, hold the clock still, or multiply it by any whole number up to a million (x1440 turns a day into a minute).
- Jump mid-session - forward or backward, including the backward jump a laptop makes after resyncing with a time server, which breaks anything measuring elapsed time without a guard.
- Its own time zone - a fixed offset for that process only, while the system zone stays put.
- Child processes come along - installers and launchers spawn children, and without that the test covers only half of what ran. A launcher or a script that starts the application and ends does not end the session: it lasts until the last program on the session clock closes.
- Tells you if it worked - a verdict, the channels covered with call counts, the channels missed, and warnings with consequences. See below - this is the part no other tool does.
- A date calculator built for QA - month-end, quarter close, the 2038 boundary, "the first day after a 14-day trial", business days and holidays, every format at once.
- Electron and Chromium apps too - through a different mechanism, because their clock lives in a sandboxed renderer where injection does not reach.
- The web pages inside an ordinary application too - an application with a built-in web engine (WebView2, Qt WebEngine) runs its pages in a process the hook cannot enter. The session asks the engine to open a local debugging port and puts those pages on the same clock as the rest of the application, through it. On by default, off with one switch.
- A window and a command line - the same engine behind both, exit codes for CI.
- Portable - no installer, no administrator rights, runs from a USB stick.
Source Code:
https://github.com/donislawdev/ChronoMock
Website:
| Published | 13 hours ago |
| Status | Released |
| Category | Tool |
| Platforms | Windows |
| Author | DonislawDev |
| Tags | date, date-manipulation, developer-tools, Hacking, qa, security, testing, time, time--manipulation |
| AI Disclosure | AI Assisted, Code, Graphics, Text |
Download
Click download now to get access to the following files:




Leave a comment
Log in with itch.io to leave a comment.