Download the PHP package pauci/datetime without Composer
On this page you can find all versions of the php package pauci/datetime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pauci/datetime
More information about pauci/datetime
Files in pauci/datetime
Download pauci/datetime
More information about pauci/datetime
Files in pauci/datetime
Vendor pauci
Package datetime
Short Description Enhanced DateTime, DateTimeImmutable and DateInterval objects
License MIT
Homepage https://github.com/pauci/datetime
Package datetime
Short Description Enhanced DateTime, DateTimeImmutable and DateInterval objects
License MIT
Homepage https://github.com/pauci/datetime
Please rate this library. Is it a good library?
Informations about the package datetime
pauci/datetime
Provides enhanced DateTime
and DateInterval
objects with clock abstraction
- based on
DateTimeImmutable
object (to discourage the use of mutable version) - provides
SystemClock
for production andFrozenClock
for testing - provides extra static factory methods:
now()
(uses clock),fromString()
,fromTimestamp()
,fromFloatTimestamp()
- implements
Stringable
andJsonSerializable
with implicit conversion to string (ISO 8601)
Examples
All versions of datetime with dependencies
PHP Build Version
Package Version
The package pauci/datetime contains the following files
Loading the files please wait ....