PHP funkce gettimeofday()
06. 07. 2020Dostupnost ve verzích: PHP 4.0
Get current time
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$return_float | bool | null | When set to true, a float instead of an array is returned. |
Návratové hodnoty
mixed
By default an array is returned. If return_float is set, then a float is returned.
Array keys: "sec" - seconds since the Unix Epoch "usec" - microseconds "minuteswest" - minutes west of Greenwich "dsttime" - type of dst correction
Další zdroje
https://php.net/manual/en/function.gettimeofday.php
Jan Barášek Více o autorovi
Autor článku podniká jako fullstack senior developer v Praze. Spravuje 300 různě velkých webových projektů, fungujících dodnes. Během spolupráce nabral hluboké zkušenosti, které na tomto webu předává dál.
Rád vám pomůžu:
Kontakt Konzultace a služby Nabídka spolupráce