I’ve had a number of instances lately where I needed to manually set the date on a UNIX machine that didn’t have internet access, so I made a little page to generate the date setting commands with the correct current time.
https://robobunny.com/unixdate
There’s a setting to force the date a little into the future (5 seconds by default), to give you time to paste it into a command prompt and still be pretty close to correct.