libfaketime
Libfaketime allows the modification of system date and time seen by applications, useful for deterministic builds, debugging time-sensitive issues, and year-2038 compliance testing. It is compatible with Linux and macOS, utilizing dynamic linking, and is limited with statically linked binaries and specific configurations. Advanced options enable setting absolute or relative dates without altering the actual system clock. The included wrapper script facilitates ease of use but encourages direct library usage for comprehensive functionality.