Sorry for the non-PFC question, but I think I saw some discussion related to this a while back... I need a way to reliably get the short date setting (the Regional Settings control panel option for short date format) for a user's PC. I had been getting it from the registry under HKEY_CURRENT_USER/Control Panel/International/sShortDate, but it turns out that this value doesn't always exist on non-US editions of Windows 98 (and maybe 95). The problem occurred with a Canadian version of Windows 98. I found an API call for GetLocaleInfo, but haven't been able to make it work in PowerBuilder. The API call is: GetLocaleInfo(LCID Locale, LCTYPE LCType, LPTSTR lpLCDataBuffer, int nBufferSize) I need to know the date format so I can assemble a month/day/year string in the correct order (because if the month is in the wrong place, for example, the Date() function will mess up the date because it expects the month value to be in the position specified in the Regional Settings). Seems like this should be easy info to get, but I can't seem to find it. Thanks for any help! Van Sederburg > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
