Answered by
4 years ago Edited 4 years ago
This is pretty simple to do actually, all yah have to do is use os.date to get a full table of year, month, weekday, day of the month, day of the year, current hour, current minute, second, ect.
01 | local thing = os.date( "*t" ,os.time()) |
10 | print (thing.day.. "/" ..thing.month.. "/" ..thing.year.. " " ..math.abs(thing.hour- 12 ).. ":" ..thing.min.. " " ..thing.sec.. " seconds " ..ap) |
This will print out the exact time of the os.time() you input in the thing variable. Change os.time() to whatever just make sure it's a unix time. :D