Set the value of a dateTime.iso8601 native type
The value is in iso8601 format, minus any timezone information or dashes
Parameters: | mixed – Integer of the unix timestamp or any string that can be parsed to a unix timestamp using the PHP strtotime() function |
---|---|
Throws ExceptionValueException: | |
if unable to create a DateTime object from $value |