Short Date Format Bug!!!

A

ABC

I am sure I modified the Regional and Language Option's Customize Short Date
Format. When I run my ASP.NET applications, No one function and properties
can return the customize short date format.

I only need to obtain the short date format string (ONLY the pattern string
"yyyy/MM/dd") to display only. Not need to use "ToShortDateString()". It
seems .NET have bug!!
 
A

aruanavekar

..NET retieves time format based on culture specified for the executing
thread.

You may use globalization tag in web.config file or use Page.Culture to
specify a certain culture for the executing thread.

~Aru
 
A

ABC

Then, I want set it on web.config Globalization Tag.

As an interialization city Hong Kong, our all are using dd/MM/yyyy as date
format to display date value, but also using format yyyy/MM/dd as input date
pattern. How should I to set on web.config?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top