ALIAS

ts()

ShortPHP reference for strtotime().

Signature

strtotime(string $datetime, ?int $baseTimestamp = null): int|false

Example

ts(...);

PHP equivalent

strtotime() is the canonical PHP function. ShortPHP provides ts() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: low()

Next: up()

Back to reference