[ create a new paste ] login | about

Link: http://codepad.org/IKte92pg    [ raw code | output | fork ]

Lua, pasted on Oct 1:
1
2
3
4
local date = os.date("*t")
date = string.format("%02d/%02d/%d %02d:%02d:%02d", date.month, date.day, date.year, date.hour, date.min, date.sec)

print(date)


Output:
1
10/01/2014 14:33:55


Create a new paste based on this one


Comments: