strtotime

Definition

int strtotime ( string $time [, int $now ] )

Description

The function expects to be given a string containing a US English date format and will try to parse that format into a Unix timestamp (the number of seconds since January 1 1970 00:00:00 UTC), relative to the timestamp given in now, or the current time if now is not supplied.

[More at php.net]

Parameters



loading


Share/bookmark - strtotime


Global comments