faketime Command Examples

Fake the system time for a command. More information: https://manned.org/faketime.

faketime '{{today 23:30}}' {{date}}

faketime '{{yesterday}}' {{bash}}

faketime '{{next Friday 1 am}}' {{path/to/program}}