Download the PHP package duiliopastorelli/get-month without Composer
On this page you can find all versions of the php package duiliopastorelli/get-month. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download duiliopastorelli/get-month
More information about duiliopastorelli/get-month
Files in duiliopastorelli/get-month
Download duiliopastorelli/get-month
More information about duiliopastorelli/get-month
Files in duiliopastorelli/get-month
Vendor duiliopastorelli
Package get-month
Short Description Simple class to get a month in different formats and languages.
License MIT
Package get-month
Short Description Simple class to get a month in different formats and languages.
License MIT
Please rate this library. Is it a good library?
Informations about the package get-month
getMonth
Simple class to get a month in different formats and languages.
Installation via Composer
Usage with Composer
You can call the class with:
Or if you don't want to add the "use DuilioPastorelli\Month" at the top, you can:
See Usage section for more options.
Installation "Quick And Dirty"
Copy the "Month.php" file inside your project.
Include it:
See Usage section for more options.
Usage
Get the month in a numeric format (1->12):
Get the current month translated in a particular language:
Available languages are:
- Italian ->
- German ->
Get the next and previous month (Time Machine) in a numeric format:
Supported values for the Time Machine are 1->11 and -1->-11
Get a particular month (3 that means March) in a numeric format:
Other examples
-
Get the next month in German:
- Get a particular German month (April):
All versions of get-month with dependencies
PHP Build Version
Package Version
No informations.
The package duiliopastorelli/get-month contains the following files
Loading the files please wait ....