Warning: Undefined array key "DW7fa065a06cb74b536c124cfbe56ac6d3" in /var/www/gist.win/lib/plugins/translation/action.php on line 237

Warning: Trying to access array offset on value of type null in /var/www/gist.win/lib/plugins/translation/action.php on line 237
programming:php:date

php : date

date(string $format, ?int $timestamp = null): string official

ExampleExplanation / Remarks
$d = date() ?
$d = date(“y-m-d h:i:s”)returns a string of current UTC time: y=
format specifiers:
dday-of-month, two digits, leading zero

See also:
official php date page
official php datetime page