Second
SYNTAX
<DateTime>.sec
<Time>.sec
DESCRIPTION
Returns the seconds portion of <DateTime> or <Time>. The returned value is an Integer between 0 and 59.
USAGE RESTRICTIONS
The Operators row of the table in
Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
RULESHEET EXAMPLE
The following Rulesheet uses the .sec function to evaluate dateTime1, return the seconds value, and assign it to integer1.
SAMPLE TEST
A sample Ruletest provides results for two examples of dateTime1.