User Tools

Site Tools


programming:php:date

This is an old revision of the document!


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=

See also: datetime

programming/php/date.1654241975.txt.gz · Last modified: 2022/06/03 07:39 by levor