Skip to content

Instantly share code, notes, and snippets.

@mneumegen
Created May 31, 2011 00:13
Show Gist options
  • Save mneumegen/999660 to your computer and use it in GitHub Desktop.
Save mneumegen/999660 to your computer and use it in GitHub Desktop.
Trying to parse a time including milliseconds
Time.strptime("2011-05-21 04:20:46.011", "%Y-%m-%d %H:%M:%S.%3N")
@mneumegen
Copy link
Author

Gives error: invalid strptime format - `%Y-%m-%d %H:%M:%S.%3N'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment