简体   繁体   中英

regional settings date in Excel

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM