GoLang DateTimeImmutable::setDate

request it (287)
GoLang replacement for PHP's DateTimeImmutable::setDate [edit | history]



Do you know a GoLang replacement for PHP's DateTimeImmutable::setDate? Write it!

PHP DateTimeImmutable::setDate

PHP original manual for DateTimeImmutable::setDate [ show | php.net ]

DateTimeImmutable::setDate

(PHP 5 >= 5.5.0, PHP 7)

DateTimeImmutable::setDateSets the date

Description

public DateTimeImmutable DateTimeImmutable::setDate ( int $year , int $month , int $day )

Like DateTime::setDate() but works with DateTimeImmutable.