Get the Unix timestamp for today's date and time in PHP
Description
The following code shows how to get the Unix timestamp for today's date and time.
Example
//from w w w. j a v a 2s.co m
<?php
$date=date_create();
echo date_timestamp_get($date);
?>
The code above generates the following result.