Hi, so I know from the os.time page in the API reference that you can quite easily get a human date from a unix time, like this:
local stringToFormat = "Today is %x, which is a %A, and the time is %X."
local timestamp = 906000490
local result = os.date(stringToFormat, timestamp)
So that's good because you can easily turn back-end system time into something a user can read, but how do I do it the other way around, so that a user can input a time and date, and it be converted into unix time to be easily stored and maths easily done to it? Thanks!

1 comment
Oh I didn't even think of that, thank you!