Cake\Chronos\ChronosInterface::setDateTime PHP Method

setDateTime() public method

Set the date and time all together
public setDateTime ( integer $year, integer $month, integer $day, integer $hour, integer $minute, integer $second ) : static
$year integer The year to set.
$month integer The month to set.
$day integer The day to set.
$hour integer The hour to set.
$minute integer The minute to set.
$second integer The second to set.
return static
    public function setDateTime($year, $month, $day, $hour, $minute, $second = 0);
ChronosInterface