Difference between revisions of "Os.difftime"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | returns number of seconds from time t1 to time t2 | + | <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 === | === Parameters === | ||
− | '''t2''': (number) first time <br/> | + | '''t2''': (number) <translate>first time</translate> <br/> |
− | '''t1''': (number) second time <br/> | + | '''t1''': (number) <translate>second time</translate> <br/> |
=== Return values === | === Return values === | ||
− | '''Returns''' (number) different between time dates in seconds<br/> | + | '''Returns''' (number) <translate>different between time dates in seconds</translate><br/> |
Revision as of 13:38, 23 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