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

DateTimeImmutable::setTime

(PHP 5 >= 5.5.0, PHP 7)

DateTimeImmutable::setTime — Sets the time

说明

public DateTimeImmutable::setTime ( int $hour , int $minute [, int $second = 0 [, int $microseconds = 0 ]] ) : DateTimeImmutable

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

相关文章
php datetimeimmutable parses a time string according to a specified formatphp datetimeimmutable the set state handlerphp 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 eventhttpconnection sets maximum header sizephp date/time 函数 别名 datetimeimmutable createfromformatphp date/time 函数 别名 datetimeimmutable constructphp date/time 函数 别名 datetime subphp oci8 函数 sets the action namephp ps 函数 sets position for text outputphp sybase 函数 sets the deadlock retry countphp date/time 函数 gets the version of the timezonedbphp intldateformatter sets the time zone to usephp solrinputdocument sets the index time boost value for a fieldphp swfshape sets the shape s line stylephp swftextfield sets the text field width and heightphp xsltprocessor sets profiling output file
关注编程学问公众号
编程学问网 湘ICP备20001732号