IntlCalendar::toDateTime

IntlCalendar::toDateTime

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a2)

IntlCalendar::toDateTimeConvert an IntlCalendar into a DateTime object

Description

Object oriented style

public DateTime IntlCalendar::toDateTime ( void )

Procedural style

DateTime intlcal_to_date_time ( IntlCalendar $cal )

Create a DateTime object that represents the same instant (up to second precision, with a rounding error of less than 1 second) and has an analog t