编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 datetimeinterface returns date formatted according to given formatphp 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 mssql 函数 sets the minimum error severityphp mysqlnd ms 函数 sets the quality of service needed from the clusterphp oci8 函数 sets the client informationphp intlcalendar whether date/time interpretation is in lenient modephp mongocursor sets arbitrary flags in case there is no method available the specific flagphp solrquery maps to facet.date.startphp solrquery sets the group.offset parameterphp solrquery sets the text which appears before a highlighted termphp spldoublylinkedlist sets the mode of iterationphp splstack sets the mode of iterationphp swfdisplayitem sets the item s transform matrixphp swftextfield sets the font height of this text field font
关注编程学问公众号
编程学问网 湘ICP备20001732号