Is there any mathods for validating the date and time?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srikannth
    New Member
    • Jul 2010
    • 1

    Is there any mathods for validating the date and time?

    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.....
  • donbock
    Recognized Expert Top Contributor
    • Mar 2008
    • 2427

    #2
    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?

    Comment

    Working...