SYNTAX

<DateTime>.sec

<Time>.sec

Returns the seconds portion of <DateTime> or <Time>. The returned value is an Integer between 0 and 59.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

The following Rulesheet uses the .sec function to evaluate dateTime1, return the seconds value, and assign it to integer1.

A sample Ruletest provides results for two examples of dateTime1.