Skip to content

Instantly share code, notes, and snippets.

@kaworun
Created February 2, 2013 18:07
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 kaworun/4698626 to your computer and use it in GitHub Desktop.
Save kaworun/4698626 to your computer and use it in GitHub Desktop.
function second()
second = 86400 - (os.date("%H") * 3600 + os.date("%M") * 60 + os.date("%S") * 1)
return print(second)
end
print "明日までの時間(秒)"
second()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment