LaravelConf Taiwan 2019 announcement

DateTimeImmutable::setTime

(PHP 5 >= 5.5.0, PHP 7)

DateTimeImmutable::setTimeУстанавливает время

Описание

public DateTimeImmutable::setTime ( int $hour , int $minute [, int $second = 0 [, int $microseconds = 0 ]] ) : DateTimeImmutable

Данный метод похож на DateTime::setTime(), но работает с DateTimeImmutable.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top