diff --git a/functions/datetime.xml b/functions/datetime.xml index efce24ff41..7d095c265c 100644 --- a/functions/datetime.xml +++ b/functions/datetime.xml @@ -1,5 +1,5 @@ - + Date and Time functions Date/time @@ -1111,10 +1111,19 @@ print (strftime ("%A.\n")); - + The function expects to be given a string containing an English date format and will try to parse that format into a UNIX timestamp. Upon failure, -1 is returned. + + + Since strtotime behaves according to GNU + date syntax, have a look at the GNU manual page titled + Date Input Formats. + Described there is valid syntax for the time + parameter. + + <function>strtotime</function> examples