How can I execute a command making it believe that is on a different date than system one?
For instance, if I have this script:
#!/usr/bin/env bash date +"%B %d, %Y"
It prints the actual date:
march 13, 2014
But I would like it to print a different date, on the future or past, without changing the system date.
If I wasn't clear enough, I want a command line tool like this Windows GUI tool.
I do not want to use a different script (it was just an example).
I do not want to set a cronjob.
I do not want to change my general system date.
Only change the date that apply to the command to run.