PHP Manual
Function Reference
Date and Time Related Extensions
Date/Time
DateTimeImmutable
DateTimeImmutable::add
DateTimeImmutable::__construct
DateTimeImmutable::createFromFormat
DateTimeImmutable::getLastErrors
DateTimeImmutable::modify
DateTimeImmutable::__set_state
DateTimeImmutable::setDate
DateTimeImmutable::setISODate
DateTimeImmutable::setTime
DateTimeImmutable::setTimestamp
DateTimeImmutable::setTimezone
DateTimeImmutable::sub
DateTimeImmutable::setDate
DateTimeImmutable::setTime
DateTimeImmutable
PHP Manual
DateTimeImmutable::setISODate
Sets the ISO date
Description
public
DateTimeImmutable
DateTimeImmutable::setISODate
(
int
$year
,
int
$week
[,
int
$day
= 1
] )
Like
DateTime::setISODate
but works with
DateTimeImmutable
.