GDM/Framework/Types/Date.php
static function formatTimestamp($timestamp = 'now', $format = false)
    {
        $dateObj = static::createFromTimestamp($timestamp);
        return $dateObj->format($format ? : Settings\DefaultDateSettings::$defaultDateTimeFromat);
    }
static function formatTimestamp($timestamp = 'now', $format = false)
    {
        $dateObj = static::createFromTimestamp($timestamp);
        return $dateObj->format($format ? : Settings\DefaultDateSettings::$defaultDateTimeFromat);
    }
static function formatTimestamp ( $ timestamp = 'now' , $ format = false ) { $ dateObj = static :: createFromTimestamp ( $ timestamp ) ; return $ dateObj -> format ( $ format ? : Settings \ DefaultDateSettings :: $ defaultDateTimeFromat ) ; }
Format a timestamp

@param type $timestamp [optional] <p>Timestamp to be formatted, defaults to now</p>
@param string $format <p>The format that the passed in timestamp should be in. Defaults to DefaultDateSettings::$defaultDateTimeFromat</p>
@return string
@see Settings\DefaultDateSettings
Format a timestamp