Hi all,
I have a table which holds a fields type "DATE", I am trying to write a query that would output all the records that have a current time which is less than the date/time held in the table.
The code I am using is:
[PHP
$nTime = date("Y-m-d H:i:s");
$query_nonactive = "SELECT * FROM flightdata WHERE RollOffTime < " . $nTime ;
[/code]
Any help would be great.