ExportDate Processing Instructions in Generic XML

ExportDate instruction in Generic XML (GXML) automatically generates the current time and date of when an export occurs. The default format for this processing instruction is YYYY-MM-DD, but can be changed based on the specified processing instructions.

In the example above, the highlighted tags would produce the following date and time information: 

  • The <?ExportDate?> processing instruction, located between the <DATE> tags, produces the date in the default format of YYYY-MM-DD.
  • The <?ExportDate HH:mm:ss?> processing instruction, located between the <TIME> tags, produces the time of the export, in the format determined by the specific parameter (HH:mm:ss).
  • The <?ExportDate z?> processing instruction, located between the <TIMEZONE> tags, produces the time zone of where the export took place, in the format determined by the specific parameter (z).

For demonstrative purposes, this example displays three different tag sets (<DATE>, <TIME>, and <TIMEZONE>; however, users can produce the same date / time information with a single tag set like this: <DATE><?ExportDate YYYY-MM-DD HH:mm:ss z?></DATE>.