- Published on
How To Generate Today Unix Timestamp in PHP
Here's little snippet on how to do it
$today_start_ts = strtotime(date('Y-m-d', time()). '00:00:00'); echo $today_start_ts;
Here's little snippet on how to do it
$today_start_ts = strtotime(date('Y-m-d', time()). '00:00:00'); echo $today_start_ts;