19 lines
348 B
Markdown
19 lines
348 B
Markdown
---
|
|
title: Time
|
|
---
|
|
## Time
|
|
|
|
The `time()` function returns the current unix timestamp (number of seconds since the Unix Epoch - January 1 1970 00:00:00 GMT).
|
|
|
|
### Example
|
|
```php
|
|
<?php
|
|
echo time();
|
|
```
|
|
**Output:**
|
|
```text
|
|
1511732226
|
|
```
|
|
#### More Information:
|
|
* <a href="https://secure.php.net/manual/en/function.time.php">php.net time() manual</a>
|