Os: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
m →date |
m Added to category. |
||
Line 38: | Line 38: | ||
<br> | <br> | ||
'''time''' unix time | '''time''' unix time | ||
[[Category:Tables]] |
Revision as of 22:53, 16 June 2009
Functions
date
Definition:
os.date([format [, time]]) -> date
Description:
return formatted date [1]
Arguments:
Returns:
date
difftime
Definition:
Description:
time difference betweeen the two arguments [2]
Arguments:
Returns:
Example:
time
Definition:
os.time() -> time
Description:
retunrs Unix time [3]
Returns:
time unix time