Currently I've used this code to get 1 day started from current timing of today plus 24 hours:
$daysago = date("Y-m-d H:i:s",strtotime(date('Y-m-j H:i:s')) + (1 * 24 * 60 * 60)); //Today + 1 day
How can I fixed the timestamp so for example the $daysago
should start from 9am of today until 9am of tomorrow only?