Strtotime works for date comparisons on nonUnix--thank you :)

From: Date: Fri, 07 Nov 2003 19:43:57 +0000
Subject: Strtotime works for date comparisons on nonUnix--thank you :)
Groups: php.db 
Request: Send a blank email to php-db+get-31496@lists.php.net to get a copy of this message
$today = Strtotime(date("m/d/Y")); $expires=Strtotime(odbc_result($data,"Expires")); If ($today <= $expires) { echo "<br><br>License has not expired<br><br>"; } Else { echo "<br><br>License has expired<br><br>"; } :-P --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

« previous php.db (#31496) next »