You are reading O'Reilly XForms Essentials by Micah Dubinko. (What is this?) - Buy XForms Essentials Online
| Defined in: XForms 1.0 |
| Parameters: string dateTime (required) |
| Return type: number |
This function computes a signed fractional number of seconds relative to an epoch of 1970-01-01T00:00:00Z, and is useful when two xs:dateTimes need to be compared.
This example returns the large number of seconds representing the current date and time:
seconds-from-dateTime(now())