I 开发者_运维知识库got a problem with the date settings on my client system,
My program demands to set the date as DD/MM/YYYY and I used the type as text in the database,
so I am unable to see what was the date format in my client computers regional settings
so if my client computers regional setting is MM/DD/YYYY if while checking the date criteria in the code problem is occuring
can anyone help me for this problem
If you have libc available, you can use strftime to control the format of your date strings.
If you just have text entries in your database and don't know what the original format was, you are basically lost. Date strings representation in the database probably shouldn't be ASCII strings to begin with.
精彩评论