Skip to content

Instantly share code, notes, and snippets.

@baisong
Forked from rev22/internet-time.js
Created January 20, 2014 15:50
Show Gist options
  • Save baisong/8522488 to your computer and use it in GitHub Desktop.
Save baisong/8522488 to your computer and use it in GitHub Desktop.
"@"+("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