Difference between revisions of "Learning PHP (2)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (Created page with "This article contains examples of PHP. == Example One: date and time == == See Also == * Getting started with PHP * PHP == External links == === Document...") |
Karl Jones (Talk | contribs) (→Example One: date and time) |
||
Line 3: | Line 3: | ||
== Example One: date and time == | == Example One: date and time == | ||
+ | PHP provides functions for date and time. | ||
− | + | <pre> | |
+ | echo date('l jS \of F Y h:i:s A'); | ||
+ | </pre> | ||
== See Also == | == See Also == |
Revision as of 07:56, 3 September 2015
This article contains examples of PHP.
Example One: date and time
PHP provides functions for date and time.
echo date('l jS \of F Y h:i:s A');