get current time

Posted by Wayen on Tue 30 Dec 2014 05:55 AM — 3 posts, 15,299 views.

China #0
I want to get the infomation of the current time . So I use this code:

Note(GetInfo(304))

but it return a number like this: 1419918787

How could I get the time like the format : XXXX/XX/XX XX:XX
Australia Forum Administrator #1
In Lua:

http://www.gammon.com.au/scripts/doc.php?lua=os.date
China #2
Hello Nick

It is so useful . Thank you very much!