Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A  form with a time or date/time control will convert and save the local time in UTC format in the submissons XML document. The time is proceeded by a capital  "T" (Time Zone) and followed by a "Z" (UTC timezone) in the submission data for a date/time control, as shown below. Using an XML document to initialize a form with time or date/time controls will work correctly whether or not the timezone is provided. Here is an example of  XML XML code generated for a form with a date/time control in the  submissions database that can be used to initilaize a form 

Code Block
<?xml version="1.0" encoding="UTF-8"?>
 <p0:default_format xmlns:p0="http://www.frevvo.com/schemas/_1gjfsLVcEeGncZR5RoaQbQ">
    <date>2012-07-09</date>
    <time>14:00:00Z</time>
    <datetime1>2012-07-09T14:00:00Z</datetime1>
    <datetime2>2012-07-09T14:00:00Z</datetime2>
 </p0:default_format>

If The data will be converted to the timezone of the browser and displayed in the form accordingly the timezone is provided in in the XML document. 

Navigate to View/Edit Submissions Detail for more information on the Submissions Database and the XML document.

...