Want to compare dates

From: Date: Mon, 07 Apr 2003 06:33:38 +0000
Subject: Want to compare dates
Groups: php.general 
Request: Send a blank email to php-general+get-142646@lists.php.net to get a copy of this message
My dates are in the string form '2003/4/3' (YYYY/MM/DD) I am trying to compare 2 dates but giving some wrong o/p when I try to compare 2003/4/3 and 2003/4/10 - comparing like if (fromdate > todate) {} Please let me know the good way of comparing it. Thanking in advance Regards Manisha

« previous php.general (#142646) next »