PHP Manual
Prev |  | Next

# microtime

microtime -- return current UNIX timestamp with microseconds

## Description

`string microtime`(void);

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. This function is only available on operating systems that support the gettimeofday() system call.

See also time().

Prev | Home | Next
gmstrftime | Up | mktime