Development Section > LUA & PtokaX-Scripting-Interface

Julian Dates

<< < (2/2)

Thor:
os.date() can format you: http://www.lua.org/manual/5.1/manual.html#pdf-os.date
eg. use os.date("%Y %B %d %H:%M:%S",1217894400) will result 2008 August 05 00:00:00. You can use the same variables as in C.

Navigation

[0] Message Index

[*] Previous page

Go to full version