|
IntlDateFormatter::getCalendardatefmt_get_calendarGet the calendar type used for the IntlDateFormatter DescriptionObject oriented style
int IntlDateFormatter::getCalendar
( void
)
Procedural style
int datefmt_get_calendar
( IntlDateFormatter
$fmt
)
Parameters
Return Values
The calendar
type being used by the formatter. Either
ExamplesExample #1 datefmt_get_calendar example
<?php Example #2 OO example
<?php The above example will output: calendar of the formatter is : 1 Now calendar of the formatter is : 0 See Also
|