Last active
January 1, 2016 03:19
-
-
Save rev22/8085260 to your computer and use it in GitHub Desktop.
Javascript code to get Swatch Internet time ("Unlicense"'d)
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
"@"+("00"+Math.floor((((x.getUTCHours()+1)%24*60+x.getUTCMinutes())*60+x.getUTCSeconds()+(x.getUTCMilliseconds()*0.001))/86.4)).slice(-3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment