PHP funkce microtime()
06. 07. 2020Dostupnost ve verzích: PHP 4.0
Return current Unix timestamp with microseconds
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$get_as_float | bool | null | When called without the optional argument, this function returns the string "msec sec" where sec is the current time measured in the number of seconds since the Unix Epoch (0:00:00 January 1, 1970 GMT), and msec is the microseconds part. Both portions of the string are returned in units of seconds. |
Návratové hodnoty
mixed
Další zdroje
https://php.net/manual/en/function.microtime.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