format-dateTime

Returns a string that represents the date and time in the format that is specific to a given locale and time zone.

Syntax

    format-dateTime(strDateTime, (language, country, variant, timezone)?)

Parameters

strDateTime is a string that represents the date and time in the format yyyy-mm-ddThh:mm:ssZ .

You can also specify zero or one set of parameters that identifies the locale of the equivalent date:

  • language is a string that identifies the language of the locale.

  • country is a string that identifies the country of the locale.

  • variant identifies a vendor or web browser.

  • timezone identifies the time zone of the locale.

    For more information about date and time parameters, see Date and time parameters .

Returns

A string that represents the localized date and time in the format yyyy-mm-ddThh:mm:ssZ .

// Ethnio survey code removed