Zend Framework  2.4
Static Public Member Functions | List of all members
DateTime Class Reference

DateTime. More...

Static Public Member Functions

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.
 

Detailed Description

DateTime.

An extension of the object.

Deprecated:

Member Function Documentation

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