Hi is there any method which validates the date, time
ie say if i enter date as 2008.11.10 it should return true,
it should accpet varoius other formats
like 2008/11/11 or 2008-10-11 etc..
Thanks in Advance
Printable View
Hi is there any method which validates the date, time
ie say if i enter date as 2008.11.10 it should return true,
it should accpet varoius other formats
like 2008/11/11 or 2008-10-11 etc..
Thanks in Advance
Have a look at the COleDateTime clss and its methods:
ctors
COleDateTime::ParseDateTime
COleDateTime::GetStatus
COleDateTime::Format