Os: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
New page: === date === '''Definition:''' <br><br> '''Description:'''<br> print formatted date [http://www.lua.org/manual/5.1/manual.html#5.8] <br><br> '''Arguments:''' <br><br> '''Returns:''' <br><b...
 
m Reverted edits by Otutytaqo (Talk) to last version by ArielF
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Functions==
=== date ===
=== date ===
'''Definition:'''
<br>
os.date([format [, time]]) -> date<br>
'''Description:'''<br>
return formatted date [http://www.lua.org/manual/5.1/manual.html#5.8]
<br>
'''Arguments:'''
<br>
<br>
'''Returns:'''
<br>
'''date'''
=== difftime ===
'''Definition:'''
'''Definition:'''
<br><br>
<br><br>
'''Description:'''<br>
'''Description:'''<br>
print formatted date [http://www.lua.org/manual/5.1/manual.html#5.8]
time difference betweeen the two arguments [http://www.lua.org/manual/5.1/manual.html#5.8]
<br><br>
<br><br>
'''Arguments:'''
'''Arguments:'''
Line 11: Line 26:
'''Example:'''
'''Example:'''
<br><br>
<br><br>
=== time ===
'''Definition:'''
<br>
os.time() -> time<br>
'''Description:'''<br>
retunrs Unix time [http://www.lua.org/manual/5.1/manual.html#5.8]
<br>
'''Returns:'''
<br>
'''time''' unix time
[[Category:Tables]]

Latest revision as of 18:54, 20 November 2010

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