PHPackages                             ludovicm67/superdate - 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. ludovicm67/superdate

ActiveLibrary

ludovicm67/superdate
====================

Nice methods to know if the specified date is on a weekend/weekday or holiday (for Alsace, France), and some other cool stuff

v2.1.1(11mo ago)0117MITPHPCI passing

Since Jul 31Pushed 3w ago1 watchersCompare

[ Source](https://github.com/ludovicm67/php-superdate)[ Packagist](https://packagist.org/packages/ludovicm67/superdate)[ RSS](/packages/ludovicm67-superdate/feed)WikiDiscussions main Synced 2d ago

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

Superdate
=========

[](#superdate)

> Some useful functions for working with dates

[![Latest Stable Version](https://camo.githubusercontent.com/e883f515598458275f650c9461c94094519ba21c09db4b7092103f00e80e8c6b/68747470733a2f2f706f7365722e707567782e6f72672f6c75646f7669636d36372f7375706572646174652f762f737461626c65)](https://packagist.org/packages/ludovicm67/superdate)[![Total Downloads](https://camo.githubusercontent.com/ba6f5f3340569d7e65cd6cfee5fcc68b0db39f06916b8444279d539b197d11e9/68747470733a2f2f706f7365722e707567782e6f72672f6c75646f7669636d36372f7375706572646174652f646f776e6c6f616473)](https://packagist.org/packages/ludovicm67/superdate)[![Coverage Status](https://camo.githubusercontent.com/e24085b7c70edf3cb59f26ed0e445edf4c4f4f400077afb9ad96cd6ef6c1c4d0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c75646f7669636d36372f7068702d7375706572646174652f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/ludovicm67/php-superdate?branch=main)[![License](https://camo.githubusercontent.com/7f6f821459fac877656ce861d82535fc1c03041b19e978257aa85b466ea1143f/68747470733a2f2f706f7365722e707567782e6f72672f6c75646f7669636d36372f7375706572646174652f6c6963656e7365)](https://packagist.org/packages/ludovicm67/superdate)

Installation
------------

[](#installation)

Just run the following command: `composer require ludovicm67/superdate`to add it to your PHP project!

Getting started
---------------

[](#getting-started)

If you installed using composer, you can now create a file with the following code:

```
