Date and Datetime Strings in Constants

In constant expressions used in activity input bindings, datetime values are read in according to the ISO 8601 standard, as described in the XML Schema specification. For example, the value:

"2002-02-10T14:55:31.112-08:00"

is 55 minutes, 31 seconds and 112 milliseconds after 2pm on February 10th, 2002 in a timezone that is 8 hours, 0 minutes behind UTC.

If no timezone field is present, the value is interpreted in the timezone of the machine that is performing the parsing. This can lead to complications if you are processing data from different timezones, so you are encouraged to always use timezones.

When ActiveMatrix BusinessWorks generates datetime strings (for example in the process debugger display for process data), UTC time is always used. The output for the example above is:

2002-02-10T14:55:31.112Z

which is the equivalent time in the UTC timezone.