gmmktime()
gmmktime - Get Unix timestamp for a GMT date
Syntax
int gmmktime (
int $hour,
int $minute,
int $second,
int $month,
int $day,
int $year,
int $is_dst)
Arguments
- hour - The hour
- minute - The minute
- second - The second
- month - The month
- day - The day
- year - The year
- is_dst - Parameters always represent a GMT date so is_dst doesn\'t influence the result.
Description
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.
Version
PHP 4, 5
Return value
Returns a integer Unix timestamp.