编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « DateTimeImmutable::__set_state
  • DateTimeImmutable::setISODate »
  • PHP Manual
  • DateTimeImmutable
  • Sets the date

DateTimeImmutable::setDate

(PHP 5 >= 5.5.0, PHP 7)

DateTimeImmutable::setDate — Sets the date

说明

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

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

相关文章
php datetimeimmutable sets the datephp datetimeimmutable sets the iso datephp datetimeimmutable sets the timephp datetimeimmutable sets the date and time based on a unix timestampphp datetimeimmutable sets the time zonephp eventhttp sets maximum http header sizephp filesystemiterator sets handling flagsphp date/time 函数 别名 datetimeimmutable createfromformatphp date/time 函数 别名 datetimeimmutable constructphp date/time 函数 别名 datetime diffphp date/time 函数 别名 datetime settimestampphp direct io 函数 sets terminal attributes and baud rate for a serial portphp frontbase 函数 sets or retrieves the password for a frontbase databasephp fdf 函数 sets a submit form action of a fieldphp paradox 函数 sets a valuephp stream 函数 sets write file buffering on the given streamphp sybase 函数 sets field offsetphp gmagick sets the image depthphp gmagick sets the image chromaticity white pointphp pht atomicinteger sets the atomic integer s value
关注编程学问公众号
编程学问网 湘ICP备20001732号