App\services\Utils::getTimeFormatted PHP 메소드

getTimeFormatted() 공개 정적인 메소드

public static getTimeFormatted ( $timestamp )
    public static function getTimeFormatted($timestamp = 0)
    {
        return $timestamp == 0 ? date('Y-m-d H:i:s') : date('Y-m-d H:i:s', $timestamp);
    }