#wtf is UnixTimeStamp?
1 messages · Page 1 of 1 (latest)
the number you gave it is often already in milliseconds. what part confused you?
perhaps a better question, what are you trying to do exactly?
Learn what DateTime.fromUnixTimestamp is used for
I put in 10 and it prints 10000
did you google it?
on which part?
on what it does, does it just return the number you give it in milliseconds?
like 10 = 10000, or 1 = 1000
do you understand what the unix timestamp is?
yes, its the amount of time since january 1 1970
Timestamps are not always straight forward, DateTime is an object that expresses more detailed information of a timestamp, often given by a unix timestamp, such as given any unix timestamp what day of the week was it at that time? what exact year was it?
if you need millisecond precision for something you might be better using a different timing method
e.g time() or os.clock()
or runservice.framenumber etc
timing be like that 🤷
this is where I get confused, so it gives detailed info of what I put in there like 10 seconds after january 1 1970 it will give detailed info?
the number I put in is how many seconds after january 1 1970
and it will give me info at that time
?