Skip to content

Instantly share code, notes, and snippets.

@sbchisholm
Last active January 12, 2016 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbchisholm/86e65142206f5c30f3e2 to your computer and use it in GitHub Desktop.
Save sbchisholm/86e65142206f5c30f3e2 to your computer and use it in GitHub Desktop.
function msnow()
t = time()
tm = Libc.TmStruct(t)
DateTime(tm.year+1900,tm.month+1,tm.mday,tm.hour,tm.min,tm.sec,round(Int64,t*1000)%1000)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment