• Date and time
    4 replies, posted
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 [highlight](User was banned for this post ("Wrong forum" - mahalis))[/highlight]
os.date works fine. [code]os.date( "*t" )[/code] 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 :P [editline]02:17PM[/editline] Also MakeR you should be a mod of this forum.
Newline = '\n' not '/n'
Haha. I keep nearly getting everything right darn :P Its because I had to wake early and got a few hours sleep, sorry xD But thanks :P And yea you should seriously be a mod of this forum because you pwn.
Sorry, you need to Log In to post a reply to this thread.