Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get start of today

$beginOfDay = strtotime("today");
//to format
//$beginOfDay = date("Y-m-d H:i:s",strtotime('today'));
 
PREVIOUS NEXT
Tagged: #php #start #today
ADD COMMENT
Topic
Name
3+6 =