Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DateTime secondsBetween

From Catglobe Wiki


DateTime_secondsBetween

Return seconds between 2 datetimes

Syntax

DateTime_secondsBetween(datetime1, datetime2, timezoneId)

or

DateTime_secondsBetween(datetime1, datetime2)

Arguments

  • datetime1, datetime2: are array in which we get second span
  • timezoneId: is number. It is timezone Id

Return value

number

Example

array a1 = {2017,2,12,7,39,16,250,7,40};

array a2 = {2017,2,12,7,40,17,300,7,40};

number n = DateTime_secondsBetween (a1, a2);

print(n); //61.05