Menu
Riverview Church

TIME

Return current Unix timestamp

SYNTAX

time ( void ) : int

RETURN

Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).

EXAMPLES

1

1611785182

2

2021-01-27 22:06:22
2021-01-27 22:06:23
2021-01-27 22:07:22
2021-01-27 23:06:22
2021-01-28 22:06:22
2021-02-03 22:06:22
2021-02-26 22:06:22
2022-01-27 22:06:22

3

1611785182 UTC
1611785182 America/Los_Angeles
1611785182 Europe/London

PHP