I have a Date/Time problem
Posted: Mon Aug 16, 2004 11:46 pm
I will be receiving Date Time format that conform to ISO 8601 format.
and
I need to compare both $date1 and $date2, a simple > won't work because of the hyphens. Is there a way to do this with a premade function?
Another question is the +02:00 for $date2 is the time zone indication, is there a possibility that that doesn't exist?
Regards
Mian
Code: Select all
$date1 = '20040816T202020Z';Code: Select all
$date2 = '2004-08-16T22:20:20+02:00';Another question is the +02:00 for $date2 is the time zone indication, is there a possibility that that doesn't exist?
Regards
Mian