diff --git a/functions/datetime.xml b/functions/datetime.xml index a907def3d5..036112e9da 100644 --- a/functions/datetime.xml +++ b/functions/datetime.xml @@ -752,6 +752,34 @@ print (strftime ("%A.\n")); + + + strtotime + + Parse about any english textual datetime description into a UNIX timestamp + + + + Description + + int strtotime + string time + int now + + + The function exspects to be given a string containing an + english date format and will try to parse that format into + a UNIX timestamp. + + <function>strtotime</function> example + +echo strtotime("10 march 2000")."\n"; + + + + + +