Created
May 31, 2011 00:13
-
-
Save mneumegen/999660 to your computer and use it in GitHub Desktop.
Trying to parse a time including milliseconds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Time.strptime("2011-05-21 04:20:46.011", "%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
Gives error: invalid strptime format - `%Y-%m-%d %H:%M:%S.%3N'