LocDate$

Purpose:

Returns a string with the valid date format for the entered country.

Parameter:

Date            Value to be formatted

String               (optional) Country code/ISO Code of country, whose format is to be used. Format: <ISO639>-<ISO3166> e.g. de-de or en-us.

Number           (optional) 0=Short (default), 1=Long, 2=Short, alternative calendar, 3=Long, alternative calendar

Return value:

String

Example:

LocDate$ (Date("04.07.1776"),"en-us")     Result: 07/04/1776

LocDate$ (Date("04.07.1776"),"en-us",1) Result: Thursday, July 04, 1776