Date format

  • Thread starter Thread starter Sebastian Santacroce
  • Start date 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
 
* "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)'.
 
Back
Top