Date and time

How do I get the date and time (separately etc)? I tried looking on the wiki and could only find os.date - which doesnt work. Could anyone provide examples or point me in the right direction plox? :3


(User was banned for this post ("Wrong forum" - mahalis))

os.date works fine.


os.date( "*t" )

returns a table with the following fields: year (four digits), month (1–12), day (1–31), hour (0–23), min (0–59), sec (0–61), wday (weekday, Sunday is 1), yday (day of the year), and isdst (daylight saving flag, a boolean).

Ahh I had it Os.Date not os.date. How would I do a new line? I tried /n but that doesnt work :stuck_out_tongue:

[editline]02:17PM[/editline]

Also MakeR you should be a mod of this forum.

Newline = ’
’ not ‘/n’

Haha. I keep nearly getting everything right darn :stuck_out_tongue: Its because I had to wake early and got a few hours sleep, sorry xD

But thanks :stuck_out_tongue: And yea you should seriously be a mod of this forum because you pwn.