You are here

function date_gmmktime in Date 6.2

Same name and namespace in other branches
  1. 5.2 date_php4/date_php4.inc \date_gmmktime()
  2. 5 date.inc \date_gmmktime()
  3. 6 date_php4/date_php4.inc \date_gmmktime()

Like date_mktime with no GMT conversion.

1 call to date_gmmktime()
date_calc_is_valid in date_php4/date_php4_calc.inc
Returns true for valid date, FALSE for invalid date. Renamed this function because we already have a similar function that expects a full date as a parameter.

File

date_php4/date_php4.inc, line 968

Code

function date_gmmktime($hr, $min, $sec, $mon = FALSE, $day = FALSE, $year = FALSE) {
  return date_mktime($hr, $min, $sec, $mon, $day, $year, 'UTC');
}