424242
gd
$date = $_POST["vArrDate"]; $datearry = split("-",$date); $date = "{$datearry[2]}-{$datearry[1]}-{$datearry[0]}"; $insertLine = "INSERT INTO equipment (date_arrived,hire_cost) VALUES ('$date','$cost')";
i just want to ask, how can i set a time cut off e.g 7:00 am to 4:00 pm, then after 4 pm it would count for the next day