Definition
The time() function returns the current time as a Unix timestamp.
Syntax
time()
Parameters
None.
Example
<?php
echo time();
The time() function returns the current time as a Unix timestamp.
time()
None.
<?php
echo time();