PHP » GoLang |
login |
register |
about
|
gmmktime(PHP 4, PHP 5, PHP 7) gmmktime — Get Unix timestamp for a GMT date Description
int gmmktime
([ int
$hour = gmdate("H")
[, int $minute = gmdate("i")
[, int $second = gmdate("s")
[, int $month = gmdate("n")
[, int $day = gmdate("j")
[, int $year = gmdate("Y")
[, int $is_dst = -1
]]]]]]] )Identical to mktime() except the passed parameters represents a GMT date. gmmktime() internally uses mktime() so only times valid in derived local time can be used. Like mktime(), arguments may be left out in order from right to left, with any omitted arguments being set to the current corresponding GMT value. Parameters
Return ValuesReturns a integer Unix timestamp. Changelog
Examples
Example #1 gmmktime() basic example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|