LocDateTime

Purpose

Converts a string into a date (with a time, if applicable), the format of which is based on the country code/culture identifier specified in the second (optional) parameter.

Parameter:

String          String with the date to be converted

String                    (optional) Country code (ISO 3166-1 alpha-2, ISO 3166-1 alpha-3, ISO 3166-1 numeric-3) or culture identifier, e.g., 'US', 'USA', '840' or 'en-US'. Default: System setting

Return value:

Date

Example:

LocDateTime("04.07.1776","en-US")         Result: 07/04/1776