编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 函数 别名 datetimeimmutable createfromformatphp date/time 函数 别名 datetimeimmutable constructphp phpdbg 函数 sets the command promptphp imagickdraw sets the pattern used for stroking object outlinesphp intlcalendar set whether date/time interpretation is to be lenientphp solrcollapsefunction sets collapse hintphp solrquery sets the offset into the list of constraints to allow for paginationphp solrquery sets the maximum number of query terms includedphp solrquery sets the maximum number of terms to returnphp swfbutton sets the actionphp swfdisplayitem sets the y skewphp swfmovie sets the background colorphp swftext sets the current fontphp swftextfield sets the padding of this textfieldphp tokyotyranttable sets index
关注编程学问公众号
编程学问网 湘ICP备20001732号