.. php:method:: setDate($year, $month, $day) Set the date in the datetime object :param int $year: The year. :param int $month: The month. :param int $day: The day.
.. php:method:: setTime($hour, $minute[, $second]) Set the time :param int $hour: The hour :param int $minute: The minute :param int $second: The second
.. php:const:: ATOM Y-m-d\TH:i:sP
.. php:attr:: testattr Value of some attribute
.. php:method:: OtherClass::staticMethod() A static method.
:php:func:`DateTime::setTime()`
:php:func:`~DateTime::setDate()`