Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Date ¶
Date Format a local time/date
function date(string $format, ?int $timestamp = null): string https://www.php.net/manual/en/function.date https://www.php.net/manual/zh/function.date
func GMDate ¶
GMDate Format a GMT/UTC date/time
function gmdate(string $format, ?int $timestamp = null): string https://www.php.net/manual/en/function.gmdate https://www.php.net/manual/zh/function.gmdate
func StrToTime ¶
StrToTime Parse about any English textual datetime description into a Unix timestamp
function strtotime(string $datetime, ?int $baseTimestamp = null): int|false https://www.php.net/manual/en/function.strtotime https://www.php.net/manual/zh/function.strtotime
func Time ¶
func Time() int
Time return current Unix timestamp (second, s)
function time(): int https://www.php.net/manual/en/function.time.php https://www.php.net/manual/zh/function.time.php
Types ¶
This section is empty.