brief explanation of Unix timestamp

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174297 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sean Coates 2004-12-08 19:23:08 +00:00
parent 0491ab6e63
commit 8ebb7b0eea

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 -->
<refentry id="function.strtotime">
<refnamediv>
@ -18,7 +18,8 @@
</methodsynopsis>
<simpara>
The function expects to be given a string containing an English date
format and will try to parse that format into a Unix timestamp relative
format and will try to parse that format into a Unix timestamp (the
number of seconds since January 1 1970 00:00:00), relative
to the timestamp given in <parameter>now</parameter>, or the current time
if none is supplied. Upon failure, <literal>-1</literal> is returned.
</simpara>