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

(PHP 4, PHP 5, PHP 7) Get Unix timestamp for a GMT date

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

(PHP 5 >= 5.2.0, PHP 7) The __wakeup handler

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

(PHP 5 >= 5.1.2, PHP 7) Returns an array with information about sunset/sunrise and twilight begin/end

2025-01-10 15:47:30