It intercepts system calls to get the time and reports a fake time to the application.
https://github.com/wolfcw/libfaketime