setTime()
setTime(integer $hours, integer $minutes, integer $seconds = null, integer $microseconds = null) : static
Modify the time on the Date.
This method ignores all inputs and forces all inputs to 0.
Parameters
integer | $hours | The hours to set (ignored) |
integer | $minutes | The minutes to set (ignored) |
integer | $seconds | The seconds to set (ignored) |
integer | $microseconds | The microseconds to set (ignored) |
Returns
static —A modified Date instance.