Golang-like time class(es) for PHP 7.0+
-
Updated
Dec 15, 2025 - PHP
Golang-like time class(es) for PHP 7.0+
Divide a given period between two dates into intervals (In days) 0:0:0.000 => 23:59:59.999
Extends PHP's DateTime class by SAP week, date, time and timestamp format.
Tiny PHP class to convert DateInterval objects to MySQL temporal interval expressions
Add a description, image, and links to the dateinterval topic page so that developers can more easily learn about it.
To associate your repository with the dateinterval topic, visit your repo's landing page and select "manage topics."