Takes a string with a date and time range, tries to parse it into date objects.

v1.0.4 2015-03-31 06:58 UTC

This package is auto-updated.

Last update: 2024-05-17 08:48:14 UTC


ParseDateTimeRangeString PHP Composer Library

Takes in a string representing a date time range, the current time and timezone.
Hopefully returns two \DateTime objects with start and end time.

Currently horribly European & English centric. Sorry.

Download using composer:

Used in

Rules for version numbers:
Minor upgrades (x.x.+1) will not change the API.
Other upgrades (x.+1.0 or +1.0.0) might.