Search Results

  1. DateTimeImmutable::add () - Returns a new object, with added amount of days, months, years, hours, minutes and seconds DateTimeImmutable::diff () - Returns the difference between two DateTime objects

  2. The DateTimeImmutable class provides an object-oriented interface for working with immutable dates and times in PHP.

  3. Oct 11, 2019 · The DateTimeImmutable::sub () function is an inbuilt function in PHP which is used to subtract a number of days, months, years, hours, minutes and seconds from a created DateTimeImmutable object.

  4. DateTimeImmutable::setISODate — Sets the ISO date DateTimeImmutable::setTime — Sets the time DateTimeImmutable::setTimestamp — Sets the date and time based on an Unix timestamp DateTimeImmutable::setTimezone — Sets the time zone DateTimeImmutable::sub — Subtracts an amount of days, months, years, hours, minutes and seconds

  5. www.php-resource.dedatetimeimmutable- PHP-Resource

    DateTimeImmutable::sub — Subtracts an amount of days, months, years, hours, minutes and seconds

  6. People also ask

  7. DateTime::sub — Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object DateTimeImmutable — The DateTimeImmutable class DateTimeImmutable::add — Adds an amount of days, months, years, hours, minutes and seconds DateTimeImmutable::__construct — Returns new DateTimeImmutable object