Script Date Formats

Many Definition Types do not have explicit data types to store timestamps (date+time+time zone). For those languages, date parameters are passed in and out as strings.

Passing to the script for In and InOut parameters is done in a Java standard format: yyyy/MM/DD HH:MI:SS,FFF ZZZ. For example: '1972/04/20 03:24:00 Europe/London'. The time zone that is passed is always an official Java time zone name.

Dates passed as out (for InOut and Out parameters) can be in the same format, or in ISO8601 format: yyyy-MM-DDTHH:MI:SS,FFFZZ. For example: '2023-07-27T00:00:00,000+02:00'. ISO 8601 says that the time zone is either 'Z' (for UTC) or an offset in hours:minutes from UTC.