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

(PHP 5 >= 5.3.0, PHP 7) Returns the difference between two DateTime objects

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

(PHP 5 >= 5.2.0, PHP 7) Returns the timezone offset from GMT

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

(PHP 5 >= 5.2.0, PHP 7) Returns a numerically indexed array containing all defined timezone identifiers

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

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

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

(PHP 5 >= 5.2.0, PHP 7) Alters the timestamp

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

(PHP 5 >= 5.3.0, PHP 7) Sets up a DateInterval from the relative parts of the string

2025-01-10 15:47:30