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 GMT), relative to the timestamp given in $now, or the current time if $now is not supplied.

declaration of strtotime

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

test strtotime online

share strtotime

comments for strtotime

On 26. Feb 2014 13:34 kodxxxx wrote:

Nice tutorial

On 11. Apr 2012 09:20 mnaoj wrote:

this is very good tutorial

On 22. Mar 2012 12:18 Emmanuel wrote:

Use it often! Fantastic idea.

more comments for strtotime

There are some more comments for strtotime(). To see them all click here.


Leave your comment