Short Date Format Bug!!!

  • Thread starter Thread starter ABC
  • Start date Start date
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!!
 
..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
 
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

Back
Top