generate functionFri, 23 Dec 2022

php get unix timestamp of today at 00:00:00

function get_date_start($date) { return strtotime(date('Y-m-d 00:00:00', $date)); }

Questions about programming?Chat with your personal AI assistant