By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 943 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

IsDate date format

P: n/a
Hi,
I am trying to use IsDate where the application will use a
format of Month/day/year however on a system that uses
day/month/year then IsDate uses that system format setting
when evaluating if its a valid date. I want IsDate to use
Month/Day/Year when validating and so independently from
the system date format. How can I do this?

Thanks,

Seb
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* "Sebastian Santacroce" <Se*******@ilogic.com> scripsit:
I want IsDate to use
Month/Day/Year when validating and so independently from
the system date format.


Use 'Date.ParseExact' insead + a 'Try...Catch' exception handler.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.