PHP Time
The time function of PHP, and Example of usage.
The time(); function of PHP, will output the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
Example Usage
Can be used as a timestamp in database enteries, the stamps can be transformed into "readable" dates with the date function.
Examples
<?php
$time = time();
echo "<p>" . date('Y-m-d', $time) . "</p>";
?>