Unix date set commands

If you have a Unix machine without a battery to keep the clock running while it's down, or a network connection for NTP, you'll need to manually set the clock when it boots. Below is a list of automatically updating commands to allow you to easily set your clock. Just pick the correct value for your system, click copy and then paste into your command prompt.
This value controls how far ahead of the actual time the commands are, to give you time to paste the value and get as close as possible to the correct time.
GNU date (Linux)
sudo date -d '@'
BSD date (*BSD, Mac OS X)
date -d "$(date -r +'%y%m%d%H%M.%S')"