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

(PHP 4, PHP 5, PHP 7) Format a GMT/UTC date/time

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

(PHP 5 >= 5.3.0, PHP 7) Returns location information for a timezone

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

(PHP 5 >= 5.1.0, PHP 7) Gets the default timezone used by all date/time functions in a script

2025-01-10 15:47:30