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
DateTimeZone::listAbbreviations
  • References/PHP/Function/Date and Time/DateTime/DateTimeZone

(PHP 5 >= 5.2.0, PHP 7) Returns associative array containing dst, offset and the timezone name

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

(PHP 4, PHP 5, PHP 7) Get the local time array

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

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

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

(PHP 5 >= 5.3.0, PHP 7) Creates a new DatePeriod object

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

(PHP 4, PHP 5, PHP 7) Return current Unix timestamp

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

(PHP 5 >= 5.2.0, PHP 7) Alias of

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

(PHP 5 >= 5.6.0, PHP 7) Returns new DateTimeImmutable object encapsulating the given DateTime object

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

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

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

(PHP 5 >= 5.3.0, PHP 7) Alias of

2025-01-10 15:47:30