![]() So it only failed from 1-12 / 1 - 12 / where date didnt equal the month. It did not respect regional settings, application settings, in fact any configuration. That particular routine always took any ambiguous date as being in the format mm/dd/yyyy. ![]() This piece of code was usng an API routine with the date passed as a variant. ![]() One bit of code was saying it couldn't find any records for a date 3/6/yyyy There are hundreds of others.Ī little story to illustrate, winodws xp box set up as full english UK. Once you've done it you solved one configuration. Tracking down exactly where this is going wrong, might turn ot to be easy, it could be a major pain in the arse. It's the only way to be sure your code is going to work, everywhere it needs to. There is only one strategy for dealing with this, make your application use one known format for any string representation of date / time / number / decimal that is logic dependant.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |