Operator Scope of Action:
Operator First Added:
returns a string of the hours/minutes time part the theDate date/time expression, which may simply be a date-type attribute value. For instance:
$MyString = time($StartDate)
If the time of $StartTime is 14:20 then $MyString will be "14:20". Passing to a string will elide leading zeroes, so a time of 05:08 will return "5:08".
To get seconds as well as hours and minutes, use the format() operator on theDate with an appropriate formatting string.