This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() met

11.0.0-beta1 2024-05-17 13:12 UTC

This package is auto-updated.

Last update: 2024-06-10 13:53:34 UTC


The Drupal Datetime Component

Thanks for using this Drupal component.

You can participate in its development on Drupal.org, through our issue system:

You can get the full Drupal repo here:

You can browse the full Drupal repo here: