/
second
second
Description
Returns the seconds of the provided date: 0-59.
Parameters
Return Type
Number
Examples
Example 1
print("Second is " + second(currentDate()));
Example 2
date varDateTime = "2011-08-17T18:30:55";
print("Second is " + second(varDateTime));
Print Second is 55
See also
Related content
formatDate
formatDate
Read with this
second
More like this
Syntax and types introduction
Syntax and types introduction
Read with this
second
More like this
Date and Interval Functions
Date and Interval Functions
Read with this
minute
More like this