Skip to content

Instantly share code, notes, and snippets.

@btbytes
Created August 5, 2010 20:44
Show Gist options
  • Save btbytes/510346 to your computer and use it in GitHub Desktop.
Save btbytes/510346 to your computer and use it in GitHub Desktop.
get date to set date.
# echoes shell command that can be pasted to set date to UTC.
echo date -s `date -u +"%Y.%m.%d-%H:%M:%S"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment