User Tools

Site Tools


programming:php:date

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programming:php:date [2022/06/03 07:36] levorprogramming:php:date [2022/06/06 06:09] (current) levor
Line 6: Line 6:
 |$d = date()| ? | |$d = date()| ? |
 |$d = date("y-m-d h:i:s")|returns a string of current UTC time: y=| |$d = date("y-m-d h:i:s")|returns a string of current UTC time: y=|
 +
 +
 +^**format specifiers:**^ ^
 +|d|day-of-month, two digits, leading zero|
 +
 +
 +
 +See also:\\ 
 +[[https://www.php.net/manual/en/function.date.php|official php date page]]\\ 
 +[[https://www.php.net/manual/en/datetime.format.php|official php datetime page]]
  
programming/php/date.1654241814.txt.gz · Last modified: 2022/06/03 07:36 by levor