GoLang DateTimeImmutable::setDate

request it (157)
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 ]


(PHP 5 >= 5.5.0, PHP 7)

DateTimeImmutable::setDateSets the date


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

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