Download the PHP package krzysztofzylka/date without Composer
On this page you can find all versions of the php package krzysztofzylka/date. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package date
Install
Create instance
Static methods
Create instance
Method
Gets
Get time
Get date
Get day
Get month
Get year
Get ISO8601 date format
Date difference
Get weekday difference
Sets
Set date
Format
Change default format (Y-m-d H:i:s)
Add
Add second to date
Add minute to date
Add hours to date
Add day to date
Add weeks to date
Add month to date
Example
Add year to date
Subtract
Subtract second from date
Subtract minute from date
Subtract hours from date
Subtract day from date
Subtract weeks from date
Subtract month from date
Subtract year from date
Check
Date is before
Date is after
Is equal
Start of day
End of day
Is weekend
Is weekday
is leap year
Utils
Get date month difference
Get simple date
Get seconds to date
Date difference
Polish Locale
Klasa PolishLocale
zawiera polskie nazwy miesięcy i dni tygodnia w różnych formatach.
Stałe
Miesiące
Dni tygodnia (Niedziela = 0)
Dni tygodnia (Poniedziałek = 0)
Metody
Pobieranie nazwy miesiąca
Pobieranie nazwy dnia (Niedziela = 0)
Pobieranie nazwy dnia (Poniedziałek = 0)
Konwersja między konwencjami numerowania
Przykład użycia
All versions of date with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package krzysztofzylka/date contains the following files
Loading the files please wait ....