Skip to content

Instantly share code, notes, and snippets.

@mferrier
Created November 2, 2009 17:53
Show Gist options
  • Save mferrier/224313 to your computer and use it in GitHub Desktop.
Save mferrier/224313 to your computer and use it in GitHub Desktop.
>> date = Date.parse("nov 2, 2009")
=> Mon, 02 Nov 2009
>> start = Time.parse("2009-11-1T20:20")
=> Sun Nov 01 20:20:00 -0500 2009
>> start > date
=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment