https://github.com/jasonjgardner/php-date-cheat-sheet
PHP date formatting cheat sheet with live examples
https://github.com/jasonjgardner/php-date-cheat-sheet
cheatsheet date datetime php
Last synced: 10 months ago
JSON representation
PHP date formatting cheat sheet with live examples
- Host: GitHub
- URL: https://github.com/jasonjgardner/php-date-cheat-sheet
- Owner: jasonjgardner
- License: cc0-1.0
- Created: 2018-06-28T17:17:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T17:26:13.000Z (over 7 years ago)
- Last Synced: 2025-03-29T13:07:13.508Z (10 months ago)
- Topics: cheatsheet, date, datetime, php
- Language: CSS
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PHP DateTime Cheat Sheet
[](https://creativecommons.org/publicdomain/zero/1.0/)
Supplemental PHP [DateTime formats](http://us.php.net/manual/en/function.date.php#refsect1-function.date-parameters)
documentation with live example dates and formatting.
## About
> I've been programming PHP for over a decade. The `date()` function has gone largely unchanged this entire time, yet I
can *never* remember all the various formatting characters.
>
>I created this cheat sheet to combine documentation from the PHP Manual with handy reference tables and live example output.
>
>I've provided a public repository of the source code for educational purposes – and because I love open-source. A
hosted version of this guide is available on my website: https://jasongardner.co/php-date-cheat-sheet/
>
>\- Jason
## License
To the extent possible under law, [Jason Gardner](https://github.com/jasonjgardner/) has waived all copyright and related or neighboring rights to
[PHP DateTime Cheat Sheet](https://github.com/jasonjgardner/php-date-cheat-sheet/). This work is published from:
United States.
[](https://creativecommons.org/publicdomain/zero/1.0/)
### Attribution
A portion of documentation text has been adapted or copied from the [PHP Manual](http://us.php.net/manual/en/index.php),
which is provided under the terms of a [Creative Commons Attribution 3.0 license](http://us.php.net/manual/en/cc.license.php)
by The PHP Group.
Cheat Sheet CSS code is adapted from stylesheets found on the PHP website.