IntlDateFormatter::getErrorMessage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the error text from the last operation. public string IntlDateFormatter::getErrorMessage ( void ) Object oriented style Procedural style string datefmt_get_error_message ( IntlDateFormatter $fmt ) Get the error text from the last operation. Parameters: fmt The formatter resource. Returns:

IntlDateFormatter::getErrorCode

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the error code from last operation public int IntlDateFormatter::getErrorCode ( void ) Object oriented style Procedural style int datefmt_get_error_code ( IntlDateFormatter $fmt ) Get the error code from last operation. Returns error code from the last number formatting operation. Parameters: fmt The formatter res

IntlDateFormatter::getDateType

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the datetype used for the IntlDateFormatter public int IntlDateFormatter::getDateType ( void ) Object oriented style Procedural style int datefmt_get_datetype ( IntlDateFormatter $fmt ) Returns date type used by the formatter. Parameters: fmt The formatter resource. Returns: The current d

IntlDateFormatter::getCalendar

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the calendar type used for the IntlDateFormatter int IntlDateFormatter::getCalendar ( void ) Object oriented style Procedural style int datefmt_get_calendar ( IntlDateFormatter $fmt ) Parameters: fmt The formatter resource Returns: The calendar type being used by the formatter. Either IntlD

IntlDateFormatter::formatObject

(PHP 5 >= 5.5.0, PHP 7, PECL intl >= 3.0.0) Formats an object public static string IntlDateFormatter::formatObject ( object $object [, mixed $format = NULL [, string $locale = NULL ]] ) Object oriented style Procedural style public static string datefmt_format_object ( object $object [, mixed $format = NULL [, string $locale = NULL ]] ) This function allows formatting an IntlCalendar or DateTime object without f

IntlDateFormatter::format

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Format the date/time value as a string public string IntlDateFormatter::format ( mixed $value ) Object oriented style Procedural style string datefmt_format ( IntlDateFormatter $fmt , mixed $value ) Formats the time value as a string. Parameters: fmt The date formatter resource. value

IntlDateFormatter::create

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Create a date formatter public static IntlDateFormatter IntlDateFormatter::create ( string $locale, int $datetype, int $timetype [, mixed $timezone = NULL [, mixed $calendar = NULL [, string $pattern = "" ]]] ) Object oriented style Object oriented style (constructor) public IntlDateFormatter::__construct ( string $locale , int $datetype , int $timetype [, mixed $timez

IntlTimeZone::useDaylightTime

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Check if this time zone uses daylight savings time public bool IntlTimeZone::useDaylightTime ( void ) Returns: This function is currently not documented; only its argument list is available.

IntlTimeZone::toDateTimeZone

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Convert to DateTimeZone object public DateTimeZone IntlTimeZone::toDateTimeZone ( void ) Returns: This function is currently not documented; only its argument list is available.

IntlTimeZone::hasSameRules

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Check if this zone has the same rules and offset as another zone public bool IntlTimeZone::hasSameRules ( IntlTimeZone $otherTimeZone ) Parameters: otherTimeZone Returns: This function is currently not documented; only its argument list is available.