You are here

function date_gmmktime in Date 5.2

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

Like date_mktime with no GMT conversion.

2 calls 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.
date_test_date in tests/date_test.test

File

date_php4/date_php4.inc, line 962

Code

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