You are here

function date_getdate in Date 5.2

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

Returns an array with date info.

Parameters

$timestamp: A unix timestamp.

$timezone name: Use 'UTC' to avoid timezone conversion.

1 call to date_getdate()
date_gmgetdate in date_php4/date_php4.inc
Like date_getdate with no GMT conversion.

File

date_php4/date_php4.inc, line 862

Code

function date_getdate($timestamp = false, $timezone = false) {
  require_once './' . drupal_get_path('module', 'date_php4') . '/date_php4_lib.inc';
  return _date_getdate($timestamp, $timezone);
}