php8.5
Home/ Manual/ reference / datetime/ The DateRangeError class

The DateRangeError class

Thrown by DateTime::getTimestamp, DateTimeImmutable::getTimestamp, and date_timestamp_get, on 32-bit platforms if the date object represents a date outside of the 32-bit signed range.

Intro

Thrown by DateTime::getTimestamp, DateTimeImmutable::getTimestamp, and date_timestamp_get(), on 32-bit platforms if the date object represents a date outside of the 32-bit signed range.

Class synopsis

extends DateError { }

See Also

  • DateError
  • DateObjectError

Source: reference/datetime/daterangeerror.xml · from the official PHP manual (php/doc-en)