Date manipulation using php DateTime
Copyright Christos Pontikis http://www.pontikis.net
Project page https://github.com/pontikis/phpDateManip
License MIT https://raw.github.com/pontikis/phpDateManip/master/MIT_LICENSE
- International dates supported
- Format DateTime
- Create date ranges
- current_year
- current_month
- current_week_from_monday
- current_week_from_sunday
- current_day
- Modifies (increase or decrease) a datetime string
- Utility functions:
- isValidTimezone()
- isValidDateTimeString()
- Multilanguage
-
php DateTime class http://php.net/manual/en/class.datetime.php (PHP 5 >= 5.2.0, PHP 7)
-
For international dates support, php intl module (http://php.net/manual/en/book.intl.php) is required. See http://php.net/manual/en/class.intldateformatter.php (PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
phpDateManip.class.php
php class
See docs/doxygen/html
for html documentation of phpDateManip
class.