DateTime.
More...
|
static | createFromISO8601 ($time, DateTimeZone $timezone=null) |
| The DateTime::ISO8601 constant used by php's native DateTime object does not allow for fractions of a second.
|
|
DateTime.
An extension of the object.
- Deprecated:
static createFromISO8601 |
( |
|
$time, |
|
|
DateTimeZone |
$timezone = null |
|
) |
| |
|
static |
The DateTime::ISO8601 constant used by php's native DateTime object does not allow for fractions of a second.
This function better handles ISO8601 formatted date strings.
- Parameters
-
string | $time | |
DateTimeZone | $timezone | |
- Returns
- mixed