PHPackages                             ardabeyazoglu/datetime - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. ardabeyazoglu/datetime

ActiveLibrary[Localization &amp; i18n](/categories/localization)

ardabeyazoglu/datetime
======================

Extends the native DateTime class adding useful features, shorthand methods and locale support

v1.0.5(7y ago)42.9k1MITPHPPHP &gt;=5.5.0

Since Jul 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ardabeyazoglu/php-datetime)[ Packagist](https://packagist.org/packages/ardabeyazoglu/datetime)[ Docs](http://icanboogie.org/)[ RSS](/packages/ardabeyazoglu-datetime/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/ad94d2c3efcdb1906f58edd667a4b9618dc77481053e94e356e30d38b3ecbc26/68747470733a2f2f706f7365722e707567782e6f72672f61726461626579617a6f676c752f6461746574696d652f762f737461626c65)](https://packagist.org/packages/ardabeyazoglu/datetime) [![License](https://camo.githubusercontent.com/c22735544ecc87e2f7c8b593d96cd34b59b10dbd26f3b16ac1035f818d59960f/68747470733a2f2f706f7365722e707567782e6f72672f61726461626579617a6f676c752f6461746574696d652f6c6963656e7365)](https://packagist.org/packages/ardabeyazoglu/datetime) [![Build Status](https://camo.githubusercontent.com/411e64dcb7d9029997bbc8b5a5b7609e8bb556d4238248695d3ab778ae360b94/68747470733a2f2f7472617669732d63692e6f72672f61726461626579617a6f676c752f7068702d6461746574696d652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ardabeyazoglu/php-datetime) [![codecov](https://camo.githubusercontent.com/a7439c294d09ae4946324a6e38f303818d77793a611167c5028c6955aa7baf4e/68747470733a2f2f636f6465636f762e696f2f67682f61726461626579617a6f676c752f7068702d6461746574696d652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/ardabeyazoglu/php-datetime)

About
=====

[](#about)

Improved DateTime functionality for php by extending native DateTime and DateTimeZone classes. You can use shorthand methods for various operations. Also, different locales are supported, thanks to `Intl` extension.

Installation
============

[](#installation)

```
composer require ardabeyazoglu/datetime

```

Usage
=====

[](#usage)

```
