s12v / hasher

Chrome developer toolbox

Home Page:https://chrome.google.com/webstore/detail/kignjplbjlocolcfldfhbonmbblpfbjb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Epoch time conversion is off?

sceurty opened this issue · comments

I am trying to use Hasher to convert a Unix timestamp but the result looks odd.

Input:
1491626111084

Output from https://www.epochconverter.com/:
"Assuming that this timestamp is in milliseconds:
GMT: Sat, 08 Apr 2017 04:35:11.084 GMT
Your time zone: 4/7/2017, 9:35:11 PM GMT-7:00 DST"

Output from Hasher:
"Local time
9/30/49237, 7:24:44 PM
DATETIME (local)
49237-09-30 19:24:44
DATETIME (UTC)
49237-10-01 02:24:44"

Am I missing something?

I got it to work by dropping the last three digits.
It looks like https://www.epochconverter.com/ automatically detects when the input is in milliseconds.