Re:Show HN: An easy way to convert time
by pcunite on Thursday June 29, 2017 @03:15PM
(#14666087)
I've been using epochconverter.com for several years. Thank you for the effort. I like to break things. So, don't worry about this. But, it will not process 10413795600?
[ Parent
| on HN ]
Re:Show HN: An easy way to convert time
by thieving_magpie on Thursday June 29, 2017 @04:54PM
(#14666786)
It looks like the max value is 9999999999.
"unix": 9999999999, "utc": "2286-11-20T17:46:39Z"
edit: No, I was very wrong. Adding another 9 seems to work. However, moving up one to 10000000000 does not.
edit2: Okay I wasn't wrong. It just was changed by the OP very quickly. Which I guess makes this entire post wrong now. But let the record reflect for a very brief period in my life I was correct.
Yup, good catch.
Re:Show HN: An easy way to convert time
by stephengillie on Thursday June 29, 2017 @03:40PM
(#14666247)
January 1, 2300 1:00 AM? What's the significance of that date?
In Powershell, it's a one-liner.
PS C:\> (Get-Date 1/1/1970).addSeconds(10413795600)
Monday, January 01, 2300 1:00:00 AM