|
IntlDateFormatter::getCalendardatefmt_get_calendarGet the calendar type used for the IntlDateFormatter DescriptionObject-oriented style
public intfalse IntlDateFormatter::getCalendar()
Procedural style intfalse datefmt_get_calendar(IntlDateFormatter
$formatter)
Parameters
Return Values
The calendar
type being used by the formatter. Either
ExamplesExample #1 datefmt_get_calendar example Example #2 OO example Example #3 Example of invalid locale handling The above example will output: calendar of the formatter is : 1 Now calendar of the formatter is : 0 See Also
|