php get start of today

Solutions on MaxInterview for php get start of today by the best coders in the world

showing results for - "php get start of today"
Emanuele
25 Jan 2018
1$beginOfDay = strtotime("today");
2//to format
3//$beginOfDay = date("Y-m-d H:i:s",strtotime('today'));