An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# PHP DateTime Cheat Sheet
[![CC0](https://img.shields.io/badge/license-CC0-green.svg)](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.

[![CC0](https://i.creativecommons.org/p/zero/1.0/88x31.png)](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.