| This tip was submitted by Olusola
Osinoiki. To get the current format use the following command:
RegistryGet("HKEY_CURRENT_USER\Control Panel\International",
"sShortDate", ls_shortdate)
To set the format so it is compliant with your settings:
RegistrySet("HKEY_CURRENT_USER\Control Panel\International",
"sShortDate", "dd/mm/yyyy")
This method can be used to check the longdate also by replacing sShortdate with
Slongdate. |