now (XForms function)Added by IBM on October 10, 2012 | Version 1 (Original)
|Gets the current date and time from the system clock on the local computer.
Returns A string representing the time in the following format: 2005-10-20T17:00:00Z.
Example The following buttons submits a purchase order form. When the button is clicked, the actions are triggered in order. First, the xforms:setvalue action uses the now function to record the time of submission. Then, the xforms:send action submits the form to the server.
<xforms:setvalue ref="timeStamp" value="now()"/>