update : 2015.11.03
php.shukuma.com검색:
|
gmmktime(PHP 4, PHP 5, PHP 7) gmmktime — Get Unix timestamp for a GMT date 설명
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. 인수
반환값Returns a integer Unix timestamp. 변경점
예제
Example #1 gmmktime() basic example
<?php |