Skip to content

Instantly share code, notes, and snippets.

@GreenXenith GreenXenith/init.lua Secret
Last active Nov 15, 2017

What would you like to do?
time stuff
local year = tonumber("%Y"))
local month = tonumber("%m"))
local day = tonumber("%d"))
local second = tonumber("%S"))
local minute = tonumber("%M"))
local hour = tonumber("%H"))
local nextmin
if minute > 1 then
if second > 40 then
nextmin = minute + 1
elseif second < 40 then
nextmin = minute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.