Hello,
I am using “Time stamp” to record time to database
Sample:
I want to list records dated “2022-07-14”
I did something like below but it was not healthy
$tarih = '2022-07-14';
$date = explode("-", $tarih);
$gun_basla = mktime(0, 0, 0, $date[1], $date[2], $date[0]);
$gun_bitir = mktime(23, 59, 0, $date[1], $date[2], $date[0]);
$dahil = " AND created BETWEEN ".$gun_basla." AND ".$gun_bitir." ";
How to do it more accurately