Difference between revisions of "Os.difftime"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns number of seconds from time t1 to time t2 <source lang="lua"> (number), = os.difftime(t2t1,) <...") |
|||
Line 4: | Line 4: | ||
returns number of seconds from time t1 to time t2 | returns number of seconds from time t1 to time t2 | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) | + | (number) = os.difftime(t2,t1) |
</source> | </source> | ||
− | '''t2 | + | === Parameters === |
− | '''t1 | + | '''t2''': (number) first time <br/> |
+ | '''t1''': (number) second time <br/> | ||
+ | === Return values === | ||
'''Returns''' (number) different between time dates in seconds<br/> | '''Returns''' (number) different between time dates in seconds<br/> |
Revision as of 10:44, 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