Zend\XmlRpc\Value\DateTime::__construct
Set the value of a dateTime.iso8601 native type
The value is in iso8601 format, minus any timezone information or dashes
Signature
public function __construct(mixed
$value )
Parameters
$value
— mixed- Integer of the unix timestamp or any string that can be parsed
to a unix timestamp using the PHP strtotime() function
Errors/Exceptions
-
ValueException
- if unable to create a DateTime object from $value