Date validation?
-
Do you know how to check date validation? I use COleDateTime and at environment without VS7 - it is wrong!!! Do you know other calss for VC7 to check that? 1900-02-31 - wrong, 1900-02-28 - OK. Thanks!!! ;)
TalSt wrote:
Do you know how to check date validation?
Several ways exist. There's the
COleDateTime
class, and functions likemktime()
.TalSt wrote:
I use COleDateTime and at environment without VS7 - it is wrong!!!
How so?
TalSt wrote:
Do you know other calss for VC7 to check that? 1900-02-31 - wrong,
Are you implying that some functon is stating that 1900-02-31 is a valid date?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne