gmmktime Get Unix timestamp for a GMT date &reftitle.description; intgmmktime inthourgmdate("H") intminutegmdate("i") intsecondgmdate("s") intmonthgmdate("n") intdaygmdate("j") intyeargmdate("Y") intis_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. &reftitle.parameters; 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. &reftitle.returnvalues; Returns a integer Unix timestamp. &reftitle.changelog; &Version; &Description; 5.1.0 As of PHP 5.1.0, the is_dst parameter became deprecated. As a result, the new timezone handling features should be used instead. &reftitle.examples; <function>gmmktime</function> on Windows boundary ]]> &reftitle.seealso; mktime date time