eberaud Posted October 29, 2014 Report Posted October 29, 2014 A part of my code converts a time stamp into a string. Another part will have to read this string and convert it back to a time stamp. However, when I run this quick example I've created, I get an error. Does anybody know what I'm missing? Thanks Quote
Darin Posted October 29, 2014 Report Posted October 29, 2014 Try with a four digit year instead '%Y'. Just a guess. Quote
eberaud Posted October 29, 2014 Author Report Posted October 29, 2014 It worked, thanks! I guess a 2-digit year is not enough information to reconstitute a full absolute TS... Quote
hooovahh Posted October 30, 2014 Report Posted October 30, 2014 I'm sure you have it in a specific format, but if you want to go with the ISO standard for having time as a string. http://lavag.org/topic/15034-timestamp-support-for-format-into-string-scan-variant-from-string-string-package/#entry90605 1 Quote
eberaud Posted October 30, 2014 Author Report Posted October 30, 2014 Just spend a full hour reading about ISO 8601, UTC, the earth's rotation that is slowing down, and leap seconds. Thanks for this super interesting reading Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.