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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   $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

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux