Date formats
I agree with Doug that users should be allowed to use their own regional format. Forcing them to use an unfamiliar format is likely to produce bad data, 4 July becoming 7 April for instance. We use...
View ArticleDate formats
Nevertheless, you can use the get and set locale to change the information but if your program crashes while it is set to the wrong region, your customer won't like you. I'd advise doing it within...
View ArticleDate formats
Private Declare Function SetLocaleInfo Lib "kernel32" Alias "SetLocaleInfoA" (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String) As Boolean Public Declare Function...
View ArticleDate formats
Not sure how you're attempting to force the date in your application, but the rules, while consistent, are a little complicated. Bottom line is that, at least in queries, Access will ALWAYS attempt to...
View ArticleDate formats
Hi,What date format takes precedence: Regional Settings or my application?I force the date format to "dd-mm-yyyy" (South African) in my application, but the users change their regional settings to...
View Article