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.
http://msdn.microsoft.com/en-us/library/0h88fahh%28VS.85%29.aspx
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