Deprecated
The joomla/date
package is deprecated with no further updates planned. Use
the Carbon library instead.
See https://framework.joomla.org/contribute
Installation via Composer
Add "joomla/date": "~1.0"
to the require block in your composer.json and then run composer install
.
{
"require": {
"joomla/date": "~1.0"
}
}
Alternatively, you can simply run the following from the command line:
composer require joomla/date "~1.0"