Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local formattedTime = data.Timestamp do --== m/d min:sec
- --local secs = formattedTime%60
- local mins = formattedTime/60%60
- local hours = formattedTime/3600%24
- local days = math.floor(formattedTime/86400%30.4368499+.5) --== oh my god it took so long to find these, roblox please add os.date
- local months = math.floor(formattedTime/2629743.83%12+.5)
- formattedTime = string.format("%.2d/%.2d %.2d:%.2d",months,days,hours,mins)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement