Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- timeIRL
- -- by SukaiPoppuGo
- --
- -- Retourne l'heure locale (IRL)
- -- function timeIRL
- -- returns
- -- number hours, float value
- -- number hours, int value
- -- number minutes, int value
- -- number seconds, int value
- function timeIRL()
- local h = os.time("local")
- return h,
- math.floor(h),
- math.floor(h%1*60),
- math.floor(h*60%1*60)
- end
Add Comment
Please, Sign In to add comment