ALIAS

dt()

ShortPHP reference for date().

Signature

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

Example

dt(...);

PHP equivalent

date() is the canonical PHP function. ShortPHP provides dt() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: cver()

Next: dir()

Back to reference