php8.5

PHP Manual · 8.5

Find any function, class, or concept in seconds.

Home/Manual/Reference

Browse the reference

Everything in the manual, grouped the way you look it up. Filter by name to narrow instantly.

186 pages matching “date”

date_date_set

refentry

Alias DateTime::setDate

date_interval_create_from_date_string

refentry

Alias DateInterval::createFromDateString

DateTime::__serialize

refentry

Serialize a DateTime

DateTime::__unserialize

refentry

Unserialize an Datetime

DateTimeImmutable::setDate

refentry

Sets the date

date_format

refentry

Alias DateTime::format

date_add

refentry

Alias DateTime::add

date_modify

refentry

Alias DateTime::modify

date_diff

refentry

Alias DateTime::diff

date_sub

refentry

Alias DateTime::sub

DateTime::getLastErrors

refentry

Alias DateTimeImmutable::getLastErrors

DateTime::setDate

refentry

Sets the date

DateTimeImmutable::createFromMutable

refentry

Returns new DateTimeImmutable instance encapsulating the given DateTime object

DateTimeImmutable::createFromInterface

refentry

Returns new DateTimeImmutable object encapsulating the given DateTimeInterface object

DateTime::createFromInterface

refentry

Returns new DateTime object encapsulating the given DateTimeInterface object

DateTime::createFromImmutable

refentry

Returns new DateTime instance encapsulating the given DateTimeImmutable object

DatePeriod::getStartDate

refentry

Gets the start date

DatePeriod::getEndDate

refentry

Gets the end date

DateTimeImmutable::setISODate

refentry

Sets the ISO date

DateTimeImmutable::__construct

refentry

Returns new DateTimeImmutable object

DateTimeZone::__construct

refentry

Creates new DateTimeZone object

date_timestamp_set

refentry

Alias DateTime::setTimestamp

date_timezone_set

refentry

Alias DateTime::setTimezone

date_offset_get

refentry

Alias DateTime::getOffset

date_timestamp_get

refentry

Alias DateTime::getTimestamp

date_time_set

refentry

Alias DateTime::setTime

date_interval_format

refentry

Alias DateInterval::format

date_isodate_set

refentry

Alias DateTime::setISODate

date_timezone_get

refentry

Alias DateTime::getTimezone

DateTime::setISODate

refentry

Sets the ISO date

DateTime::__construct

refentry

Returns new DateTime object

DatePeriod::__construct

refentry

Creates a new DatePeriod object

The DateInterval class

chapter

Represents a date interval.

DateInterval::__construct

refentry

Creates a new DateInterval object

The DatePeriod class

chapter

Represents a date period.

date_create

refentry

create a new DateTime object