PHP Manual
Prev |  | Next

# gettimeofday

gettimeofday -- Get current time

## Description

`array gettimeofday`(void);

This is an interface to gettimeofday(2). It returns an associative array containing the data returned from the system call.

- "sec" - seconds

- "usec" - microseconds

- "minuteswest" - minutes west of Greenwich

- "dsttime" - type of dst correction

Prev | Home | Next
getdate | Up | gmdate