[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/date/date_php4/ -> date_php4_lib.inc (summary)

Date Library, extended date functions. File is included only when needed.

File Size: 442 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  _date_getdate()
  _date_date()
  _date_mktime()

Functions
Functions that are not part of a class:

_date_getdate($timestamp = false, $timezone = false)   X-Ref
Low-level function that returns the getdate() array for pre-1970
and post-2038 dates.

We have a special$fast flag, which if set to true, will return fewer
array values, and is much faster as it does not calculate dow, etc.

param: $timestamp a unix timestamp
param: $timezone name

_date_date($format, $timestamp = false, $timezone = false)   X-Ref
Low level function to create date() for pre-1970 and post-2038 dates.

param: $format a format string for the result
param: $timestamp a unix timestamp
param: $timezone name

_date_mktime($hr, $min, $sec, $mon = false, $day = false, $year = false, $timezone = false)   X-Ref
Low level function to create mktime() for pre-1970 and post 2038 dates.

param: $hr the hour
param: $min the minute
param: $sec the second
param: $mon the month
param: $day the day
param: $year the year
param: $timezone name



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7