You are here

function date_date2strftime in Date 5

Convert date() to strftime() format strings

Parameters

$format - a format string for date(): @return corresponding format string for strftime()

File

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

Code

function date_date2strftime($format) {
  return strtr($format, date_date2strftime_replace());
}