$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