Difference between revisions of "Os.difftime"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>returns number of seconds from time t1 to time t2</translate>
 
<translate>returns number of seconds from time t1 to time t2</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = os.difftime(t2,t1)
 
(number) = os.difftime(t2,t1)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''t2''': (number) <translate>first time</translate> <br/>
 
'''t2''': (number) <translate>first time</translate> <br/>
 
'''t1''': (number) <translate>second time</translate> <br/>
 
'''t1''': (number) <translate>second time</translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>different between time dates in seconds</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>different between time dates in seconds</translate><br/>

Revision as of 07:29, 24 August 2018

Available since: Gideros 2011.6

Description

returns number of seconds from time t1 to time t2

(number) = os.difftime(t2,t1)

Parameters

t2: (number) first time
t1: (number) second time

Return values

Returns (number) different between time dates in seconds