That procedure it's call "validation" so i think you don't need compare, or query to bd any. Just validate if a $variable is a valid date in UnixFormat, i don't know how to do this, but google or someelse maybe know.
regards. EF. "Diana Castillo" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > If I have a date in unix format in a numeric field in my table (Mysql) and I > want to compare it to a date which is in unixformat also, will the query > work like this? > > "SELECT from tarifs where unix_from_date<=".$dateinunixformat > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php