Created
October 6, 2015 03:25
-
-
Save johnmurch/d697ddb32765f0dd94a5 to your computer and use it in GitHub Desktop.
Epoch Diff
This file contains hidden or 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
var client = 1444099876.816*1000; | |
var server = 1444099883.941*1000; | |
var seconds = (new Date(server).getTime() - new Date(client).getTime())/1000; | |
console.log("SECONDS: "+ seconds) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment