Name

now( ) — returns the current system date and time

Synopsis

Defined in: XForms 1.0
Parameters: none
Return type: string

The format returned by this function is a lexical XML Schema xs:dateTime format. If time zone information is unavailable from the system, an implementation default is used so that comparisons will still work.

This example returns 2003-02-14T09:13:02Z, when called at that point in time:

now(  )

Get XForms Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.