toStringXMI (I18n - JavaScript)

Produces a string value that represents the given date formatted according to the standard XMI format.

The XMI format is the following : yyyy-MM-ddTHH:mm:ssZ, where T is the date and time separator, and where Z is the time zone indication. UTC is indicated by the single letter 'Z', another time zone is indicated by a sign followed by hh:mm. For example, to indicate 1:20 pm on May the 31st, 1999 for Eastern Standard Time which is 5 hours behind Coordinated Universal Time (UTC), the XMI date string is : 1999-05-31T13:20:00-05:00. The time zone indication is always the server time zone.

Defined in

I18n

Syntax

toStringXMI(date:Date) : string
Parameters Description
date The date to be formatted.
Return value Description
string The formatted date.