Skip to content

Instantly share code, notes, and snippets.

@rwilcox
Created July 6, 2010 20:46
Show Gist options
  • Save rwilcox/465887 to your computer and use it in GitHub Desktop.
Save rwilcox/465887 to your computer and use it in GitHub Desktop.
Python date handling vs Ruby date handling

Intro

Tweet by rwilcox: Ok, someday I'm going to write that Ruby vs Python date/time handling comparison blog article.. (probably not in the foreseeable, but still)

This markdown starts the outline for a blog article I'm going to write. If you have any suggestions, fork this gist and add them. (or add comments to this gist!)

  • Basic usage: setting date object to Jan 3, 1979
  • Basic usage: setting datetime object to Jan 3, 1979, 5:04am
  • measuring differences in time (intervals)
  • parsing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment