gusarov112/date-range

A simple date-range class that holds valid range of two DateTimeImmutable objects

v1.0.1 2020-07-18 19:49 UTC

This package is auto-updated.

Last update: 2024-09-19 05:03:22 UTC


README

Installation

Than require package

composer require gusarov112/date-range

Usage

$dateRange = new \Gusarov112\DateRange\DateRange(
    new DateTimeImmutable('first day of this month 00:00:00'),
    new DateTimeImmutable('last day of this month 23:59:59')
);