time
time — Return current Unix timestamp.Description
time(
): int
Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given. In other words, timestamp is optional and defaults to the value of time().
Parameters
Return Values
Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).More information about time on official PHP documentation site
time - Popular snippets
- PHP 8.1 / MySQL 5.7 date strtotime time floor
last run:
2022-08-10 18:42:58
38
- PHP 8.1 / MySQL 5.7 session_start time session_unset session_destroy var_export
last run:
2022-10-08 20:45:50
35
- PHP 8.0 / MySQL 5.7 time date printf time date printf
last run:
2023-01-31 22:17:51
18
- PHP 8.0 / MySQL 5.7 session_start setcookie time
last run:
2021-07-17 13:47:29
13
- PHP 8.1 / MySQL 5.7 date time print_r array_map
last run:
2022-07-21 15:25:39
9
- PHP 8.1 / MySQL 5.7 session_start time session_unset session_destroy var_export
last run:
2022-10-05 09:11:44
8
- PHP 8.2.3 / MySQL 5.7 time date strtotime
last run:
2022-12-30 22:55:11
7
- PHP 8.0 / MySQL 5.7 time
last run:
2022-01-03 16:02:22
7
- PHP 8.1 / MySQL 5.7 md5 time date
last run:
2023-02-05 15:43:04
6
time - New snippets
-
PHP 8.1 / MySQL 5.7 date time
added at:
2023-03-21 14:35:33
2
-
PHP 8.2.3 / MySQL 5.7 date time
added at:
2023-03-21 14:34:38
1
-
PHP 7.4 / MySQL 5.7 time log strtotime date
added at:
2023-03-19 11:39:14
1
-
PHP 7.4 / MySQL 5.7 time log strtotime date
added at:
2023-03-19 11:37:16
1
-
PHP 8.1 / MySQL 5.7 time
added at:
2023-03-09 07:01:17
1
-
PHP 8.1 / MySQL 5.7 md5 time date
added at:
2023-02-05 15:42:54
6
-
PHP 8.1 / MySQL 5.7 md5 time date
added at:
2023-02-05 15:42:32
1
-
PHP 8.1 / MySQL 5.7 md5 time date
added at:
2023-02-05 15:42:21
1
-
PHP 8.1 / MySQL 5.7 md5 time
added at:
2023-02-05 15:42:04
1
-
PHP 8.1 / MySQL 5.7 time
added at:
2023-02-05 15:41:54
1