By getting the date format from the Windows registry, we can use it for various need when you build a PowerBuilder application
RegistryGet("HKEY_CURRENT_USER\Control Panel\International","sShortDate", ls_shortdate
messageBox ("ShortDate", ls_shortdate)