You are here

function date_getdate in Date 5

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

File

./date.inc, line 41
Date/time API functions

Code

function date_getdate($timestamp) {
  date_load_library();
  switch (DATE_LIBRARY) {
    case 'ADODB':
      return adodb_getdate($timestamp);
    default:
      return getdate($timestamp);
  }
}