/** * This method format a YYYYmmddhhmmss UTC date to local date with your selected format */ public static function format($time, $selected_format) { return DateTime::format_datetime($selected_format, $time, 'PhangoApp\\PhaTime\\sum_utc'); }