Date format

  • Thread starter Sebastian Santacroce
  • Start date
S

Sebastian Santacroce

I'm trying to get my application to always show date
format as month/day/year. However, I want to use
Date.parse and it uses the user settings to parse. How can
I tell VB .net to overide the user settings and keep it
month/day/year. Do Date.Parse will assume the format is
always month/day/year?

Thanks

SEb
 
H

Herfried K. Wagner [MVP]

* "Sebastian Santacroce said:
I'm trying to get my application to always show date
format as month/day/year. However, I want to use
Date.parse and it uses the user settings to parse. How can
I tell VB .net to overide the user settings and keep it
month/day/year. Do Date.Parse will assume the format is
always month/day/year?

'DateTime.ParseExact(s, format, provider)'.
 

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

Top