$date1 larger then current date?

From: Date: Tue, 24 Apr 2007 09:38:00 +0000
Subject: $date1 larger then current date?
Groups: php.windows 
Request: Send a blank email to php-windows+get-27735@lists.php.net to get a copy of this message
Hi guys! I'm searching for what I thought would be an easy issue comparing dates. I just want to know if a date in variable $date1 is larger then current date. I use the format YYYY-MM-DD in $date1 and I know how to retrieve the current date and set it in $dat2 But how do I know if $date1> $date2 ? I have looked around, but I havent found any easy solution. It seems to be a big deal? Is that the case? Best regards /Gustav Wiberg

« previous php.windows (#27735) next »