[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/adodb/ -> adodb-time.inc.php (summary)

FUNCTION adodb_time() FUNCTION adodb_getdate($date=false) FUNCTION adodb_date($fmt, $timestamp = false) FUNCTION adodb_date2($fmt, $isoDateString = false) FUNCTION adodb_gmdate($fmt, $timestamp = false) FUNCTION adodb_mktime($hr, $min, $sec[, $month, $day, $year]) FUNCTION adodb_gmmktime($hr, $min, $sec [, $month, $day, $year]) FUNCTION adodb_gmstrftime($fmt, $timestamp = false) FUNCTION adodb_strftime($fmt, $timestamp = false) Bug in 0.32 fix for hour handling. Fixed. Now adodb_mktime(0,0,0,12+$m,20,2040) works properly. Now adodb_mktime(0,0,0,24,1,2037) works correctly. gmtime behaviour for 1970 has changed. We use the actual date if it is between 1970 to 2038 to get the timezone, otherwise we use the current year as the baseline to retrieve the timezone. Also the timezone's in php 5.2.* support historical data better, eg. if timezone today was +8, but

File Size: 1458 lines (43 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 21 functions

  adodb_date_test_date()
  adodb_date_test_strftime()
  adodb_date_test()
  adodb_time()
  adodb_dow()
  _adodb_is_leap_year()
  adodb_is_leap_year()
  adodb_year_digit_check()
  adodb_get_gmt_diff_ts()
  adodb_get_gmt_diff()
  adodb_getdate()
  adodb_validdate()
  _adodb_getdate()
  adodb_tz_offset()
  adodb_gmdate()
  adodb_date2()
  adodb_date()
  adodb_gmmktime()
  adodb_mktime()
  adodb_gmstrftime()
  adodb_strftime()

Functions
Functions that are not part of a class:

adodb_date_test_date($y1,$m,$d=13)   X-Ref
No description

adodb_date_test_strftime($fmt)   X-Ref
No description

adodb_date_test()   X-Ref
No description

adodb_time()   X-Ref
No description

adodb_dow($year, $month, $day)   X-Ref
No description

_adodb_is_leap_year($year)   X-Ref
No description

adodb_is_leap_year($year)   X-Ref
No description

adodb_year_digit_check($y)   X-Ref
No description

adodb_get_gmt_diff_ts($ts)   X-Ref
No description

adodb_get_gmt_diff($y,$m,$d)   X-Ref
No description

adodb_getdate($d=false,$fast=false)   X-Ref
No description

adodb_validdate($y,$m,$d)   X-Ref
No description

_adodb_getdate($origd=false,$fast=false,$is_gmt=false)   X-Ref
No description

adodb_tz_offset($gmt,$isphp5)   X-Ref
No description

adodb_gmdate($fmt,$d=false)   X-Ref
No description

adodb_date2($fmt, $d=false, $is_gmt=false)   X-Ref
No description

adodb_date($fmt,$d=false,$is_gmt=false)   X-Ref
No description

adodb_gmmktime($hr,$min,$sec,$mon=false,$day=false,$year=false,$is_dst=false)   X-Ref
No description

adodb_mktime($hr,$min,$sec,$mon=false,$day=false,$year=false,$is_dst=false,$is_gmt=false)   X-Ref
No description

adodb_gmstrftime($fmt, $ts=false)   X-Ref
No description

adodb_strftime($fmt, $ts=false,$is_gmt=false)   X-Ref
No description



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1