PHP Manual
Prev |  | Next

# gettimeofday

(3.0.7 - 3.0.18 only, PHP 4 >= 4.0.0)

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