public static function dateParts($start_date)
    {
        $start = date('Y-m-d H:i:s', strtotime($start_date));
        $date = array(
            'date' => mysql2date('j', $start, true),
            'month' => mysql2date('F', $start, true),
            'month_short' => substr(mysql2date('F', $start, true), 0, 3),
            'year' => mysql2date('Y', $start, true),
            'time' => mysql2date('H:i', $start, true),
        );

        return $date;
    }
public static function dateParts($start_date)
    {
        $start = date('Y-m-d H:i:s', strtotime($start_date));
        $date = array(
            'date' => mysql2date('j', $start, true),
            'month' => mysql2date('F', $start, true),
            'month_short' => substr(mysql2date('F', $start, true), 0, 3),
            'year' => mysql2date('Y', $start, true),
            'time' => mysql2date('H:i', $start, true),
        );

        return $date;
    }
public static function dateParts ( $ start_date ) { $ start = date ( 'Y-m-d H:i:s' , strtotime ( $ start_date ) ) ; $ date = array ( 'date' => mysql2date ( 'j' , $ start , true ) , 'month' => mysql2date ( 'F' , $ start , true ) , 'month_short' => substr ( mysql2date ( 'F' , $ start , true ) , 0 , 3 ) , 'year' => mysql2date ( 'Y' , $ start , true ) , 'time' => mysql2date ( 'H:i' , $ start , true ) , ) ; return $ date ; }
Get date parts as array
@param  string $start_date event start date
@return array              date values
Get date parts as array