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::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::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::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::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::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::getErrorMessage

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Get last error message on the object public string IntlTimeZone::getErrorMessage ( void ) Object oriented style (method): Procedural style: string intltz_get_error_message ( void ) Returns: This function is currently not documented; only its argument list is available.

IntlTimeZone::getErrorCode

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Get last error code on the object public integer IntlTimeZone::getErrorCode ( void ) Object oriented style (method): Procedural style: integer intltz_get_error_code ( void ) Returns: This function is currently not documented; only its argument list is available.