Hi,
I tried a search first before posting, just incase but nothing hits what i want.
I want to show all records of the current day after 4pm so 16:00 - 23:59
Heres what i got so far..
Pdate is the DateTime variable ; Format = 0000-00-00 00:00:00
$Today = date('Y-m-d');
$sql3 = "SELECT * , Count(picklist.Initial) AS CInitial from picklist
LEFT JOIN warehouseops ON picklist.Initial=warehouseops.Initial
WHERE PDate = '$Today'
GROUP BY picklist.Initial
ORDER BY CInitial DESC";
Any ideas on how to specify the time criteria as well within this sql statement?