protected function formatDate($date, $format = 'H/i/s/m/d/Y', $separator = '/')
    {
        $date = date($format, strtotime($date));
        return explode($separator, $date);
    }
protected function formatDate($date, $format = 'H/i/s/m/d/Y', $separator = '/')
    {
        $date = date($format, strtotime($date));
        return explode($separator, $date);
    }
protected function formatDate ( $ date , $ format = 'H/i/s/m/d/Y' , $ separator = '/' ) { $ date = date ( $ format , strtotime ( $ date ) ) ; return explode ( $ separator , $ date ) ; }
formats a date by given format

This method is intend to format a date by a given format (same as in PHP's date())

@param string $date      The date to operate on
@param string $format    The format to use
@param string $separator The separator used in date-format

@author Benjamin Carl <opensource@clickalicious.de>
@return string Date/Time formatted
@access protected
formats a date by given format