Epoch to date lua code example
Example: os.date lua
--Get's the current time
--Examples
print (os.date ("%x")) --> 25/04/07
print (os.date ("%c")) --> 25/04/07 10:10:05
print (os.date ("%A, %m %B %Y")) --> Wednesday, 04 April 2007
t = os.date ("*t") --> produces a table like this:
t.sec=18
t.min=13
t.hour=10
t.day=25
t.month=4
t.year=2007
t.wday=4
t.yday=115
t.isdst=false