You are here

function date_gmstrftime in Date 5

File

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

Code

function date_gmstrftime($format, $timestamp = FALSE) {
  if (!$timestamp) {
    return '';
  }
  date_load_library();
  switch (DATE_LIBRARY) {
    case 'ADODB':
      return @adodb_gmstrftime($format, $timestamp);
    default:
      return @gmstrftime($format, $timestamp);
  }
}