getDateTime(mixed
datetime)¶
The getDateTime method is used to get a DateTime object that represents given date.
Input parameters¶
datetime¶
mixed
Numeric timestamp of a given date or iso8601 date string.
Returned value¶
The DateTime object.