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

Is there any mathods for validating the date and time?

P: 1
Now i want to check whether user given date,time are in the form of our expected formate or not and it is a proper date or not.

is there any predefined methods in C/C++.

plz any one can answer me.....
Sep 24 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 2,396
What is the expected format? Do you have to conform to some specific format or are you free to choose whatever format is easiest to validate? Is format the only thing you need to check, or do you need to also verify that the specified date exists?
Sep 24 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.