Os.difftime

From GiderosMobile
Revision as of 23:23, 28 October 2022 by MoKaLux (talk | contribs)

Available since: Gideros 2011.6
Class: os

Description

Returns the 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) difference between time dates in seconds