library/Garp/DateTime.php
public function format_local($format) {
        // Configure the timezone to account for timezone and/or daylight savings time
        $timezone = new DateTimeZone(date_default_timezone_get());
        $this->setTimezone($timezone);

        $timestamp = $this->getTimestamp();
        return strftime($format, $timestamp);
    }
public function format_local($format) {
        // Configure the timezone to account for timezone and/or daylight savings time
        $timezone = new DateTimeZone(date_default_timezone_get());
        $this->setTimezone($timezone);

        $timestamp = $this->getTimestamp();
        return strftime($format, $timestamp);
    }
public function format_local ( $ format ) { // Configure the timezone to account for timezone and/or daylight savings time $ timezone = new DateTimeZone ( date_default_timezone_get ( ) ) ; $ this -> setTimezone ( $ timezone ) ; $ timestamp = $ this -> getTimestamp ( ) ; return strftime ( $ format , $ timestamp ) ; }
Support for localized formatting.
@param String $format
@return String
Support for localized formatting .