Skip to end of banner
Go to start of banner

second

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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

  • No labels