(PHP 5 >= 5.5.0, PHP 7)
DateTimeImmutable::setTime
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Sets the time public

2025-01-10 15:47:30
DateTimeImmutable::setTimestamp
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Sets the date and time based on an Unix timestamp

2025-01-10 15:47:30
DateTimeImmutable::__set_state
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) The __set_state handler

2025-01-10 15:47:30
DateTimeImmutable::setTimezone
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Sets the time zone

2025-01-10 15:47:30
DateTimeImmutable::setDate
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Sets the date public

2025-01-10 15:47:30
DateTimeImmutable::modify
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Creates a new object with modified timestamp

2025-01-10 15:47:30
DateTimeImmutable::add
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Adds an amount of days, months, years, hours, minutes and seconds

2025-01-10 15:47:30
DateTimeImmutable::__construct
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Returns new DateTimeImmutable object

2025-01-10 15:47:30
DateTimeImmutable::sub
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Subtracts an amount of days, months, years, hours, minutes and seconds

2025-01-10 15:47:30
DateTimeImmutable::createFromFormat
  • References/PHP/Function/Date and Time/DateTime/DateTimeImmutable

(PHP 5 >= 5.5.0, PHP 7) Returns new DateTimeImmutable object formatted according to the specified format

2025-01-10 15:47:30