编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 date/time 函数 别名 datetime createfromformatphp date/time 函数 别名 datetimeimmutable createfromformatphp date/time 函数 别名 datetimeimmutable constructphp date/time 函数 returns associative array with detailed info about given datephp fdf 函数 sets fdf character encodingphp gupnp 函数 sets the specified action return valuesphp informix 函数 sets the default return value on a fetch rowphp gettext 函数 sets the default domainphp date/time 函数 别名 datetimezone gettransitionsphp com 函数 converts a variant date/time value to unix timestampphp gmagick sets the image background colorphp gmagickdraw sets the font weightphp imagick sets the image gammaphp imagick sets the image resolutionphp oci lob sets the internal pointer of the large object
关注编程学问公众号
编程学问网 湘ICP备20001732号