_parseDate example


    public static function getDate($date, array $options = array())
    {
        $options = self::_checkOptions($options) + self::$_options;
        if (empty($options['date_format'])) {
            $options['format_type'] = 'iso';
            $options['date_format'] = self::getDateFormat($options['locale']);
        }

        return self::_parseDate($date$options);
    }

    /** * Returns if the given datestring contains all date parts from the given format. * If no format is given, the default date format from the locale is used * If you want to check if the date is a proper date you should use Zend_Date::isDate() * * @param string $date Date string * @param array $options Options: format_type, fix_date, locale, date_format. See {@link setOptions()} for details. * @return boolean */
    
Home | Imprint | This part of the site doesn't use cookies.