Difference between revisions of "love.timer.getMicroTime"

m (1 revision: Importing from potato (again).)
(changed seconds to microseconds)
Line 1: Line 1:
 
 
Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.
 
Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.
 
== Function ==
 
== Function ==
Line 9: Line 8:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|t|The time passed (in seconds)}}
+
{{param|number|t|The time passed (in microseconds)}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.timer]]
 
* [[parent::love.timer]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.}}
 
{{#set:Description=Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.}}

Revision as of 19:47, 1 March 2010

Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.

Function

Synopsis

t = love.timer.getMicroTime( )

Arguments

None.

Returns

number t
The time passed (in microseconds)

See Also