Skip to content

Instantly share code, notes, and snippets.

@ncolgan
Created May 24, 2012 22:07
Show Gist options
  • Save ncolgan/2784485 to your computer and use it in GitHub Desktop.
Save ncolgan/2784485 to your computer and use it in GitHub Desktop.
1.9.3p125 :056 > DateTime.now.strftime('%Z')
=> "-05:00"
1.9.3p125 :057 > Time.now.strftime('%Z')
=> "CDT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment