IntlDateFormatter::setTimeZoneId()

bool setTimeZoneId(string $timeZoneId) Set the formatter's timezone identifier. Parameters string $timeZoneId The time zone ID string of the time zone to use If NULL or the empty string, the default time zone for the runtime is used. Return Value bool true on success or false on failure See also http://www.php.net/manual/en/intldateformatter.settimezoneid.php

IntlDateFormatter::setTimeZone()

bool setTimeZone(mixed $timeZone) This method was added in PHP 5.5 as replacement for setTimeZoneId(). Parameters mixed $timeZone Return Value bool true on success or false on failure See also http://www.php.net/manual/en/intldateformatter.settimezone.php

IntlDateFormatter::setPattern()

bool setPattern(string $pattern) Set the formatter's pattern. Parameters string $pattern A pattern string in conformance with the ICU IntlDateFormatter documentation Return Value bool true on success or false on failure See also http://www.php.net/manual/en/intldateformatter.setpattern.php http://userguide.icu-project.org/formatparse/datetime

IntlDateFormatter::setLenient()

bool setLenient(bool $lenient) Set the leniency of the parser. Define if the parser is strict or lenient in interpreting inputs that do not match the pattern exactly. Enabling lenient parsing allows the parser to accept otherwise flawed date or time patterns, parsing as much as possible to obtain a value. Extra space, unrecognized tokens, or invalid values ("February 30th") are not accepted. Parameters bool $lenient Sets whether the parser is lenient or not. Currently only fals

IntlDateFormatter::setCalendar()

bool setCalendar(string $calendar) Not supported. Set the formatter's calendar. Parameters string $calendar The calendar to use. Default is IntlDateFormatter::GREGORIAN Return Value bool true on success or false on failure Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/intldateformatter.setcalendar.php

IntlDateFormatter::parse()

string parse(string $value, int $position = null) Parse string to a timestamp value. Parameters string $value String to convert to a time value int $position Not supported. Position at which to start the parsing in $value (zero-based) If no error occurs before $value is consumed, $parsepos will contain -1 otherwise it will contain the position at which parsing ended. If $parsepos > strlen($value), the parse fails immediately. Return Value string Parsed value as a timestamp E

IntlDateFormatter::localtime()

string localtime(string $value, int $position) Not supported. Parse string to a field-based time value. Parameters string $value String to convert to a time value int $position Position at which to start the parsing in $value (zero-based) If no error occurs before $value is consumed, $parsepos will contain -1 otherwise it will contain the position at which parsing ended. If $parsepos > strlen($value), the parse fails immediately. Return Value string Localtime compatible arra

IntlDateFormatter::isLenient()

bool isLenient() Returns whether the formatter is lenient. Return Value bool Currently always returns false Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/intldateformatter.islenient.php

IntlDateFormatter::getTimeZoneId()

string getTimeZoneId() Returns the formatter's timezone identifier. Return Value string The timezone identifier used by the formatter See also http://www.php.net/manual/en/intldateformatter.gettimezoneid.php

IntlDateFormatter::getTimeZone()

mixed getTimeZone() Not supported. Returns the formatter's timezone. Return Value mixed The timezone used by the formatter Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/intldateformatter.gettimezone.php