diff --git a/reference/datetime/functions/strftime.xml b/reference/datetime/functions/strftime.xml
index 9075be90b1..0b8cbfa84d 100644
--- a/reference/datetime/functions/strftime.xml
+++ b/reference/datetime/functions/strftime.xml
@@ -1,5 +1,5 @@
-
+
@@ -329,9 +329,10 @@ echo "1/3/2005 - %V,%G,%Y = " . strftime("%V,%G,%Y",strtotime("1/3/2005")) . "\n
See also setlocale,
- mktime, and the
- Open Group specification of
- strftime.
+ mktime,
+ strptime,
+ and the
+ Open Group specification of strftime.
diff --git a/reference/datetime/functions/strptime.xml b/reference/datetime/functions/strptime.xml
index 1fc7c3ec93..0b5bbc13e6 100755
--- a/reference/datetime/functions/strptime.xml
+++ b/reference/datetime/functions/strptime.xml
@@ -1,5 +1,5 @@
-
+
strptime
@@ -14,9 +14,148 @@
stringtimestamp
stringformat
+
+ strptime returns an array with the
+ timestamp parsed, or &false; on error.
+
+
+ Month and weekday names and other language dependent strings respect the
+ current locale set with setlocale (LC_TIME).
+
+
- &warn.undocumented.func;
+
+ &reftitle.parameters;
+
+
+
+ timestamp (string)
+
+
+ A timestamp (e.g. returned from strftime)
+
+
+
+
+ format (string)
+
+
+ The format used in timestamp (e.g. the same as
+ used in strftime).
+
+
+ For more information about the format options, read the
+ strftime page.
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Returns an array, or &false; on failure.
+
+
+
+
+ The following parameters are returned in the array
+
+
+
+ parameters
+ Description
+
+
+
+
+ tm_sec
+ Seconds after the minute (0-61)
+
+
+ tm_min
+ Minutes after the hour (0-59)
+
+
+ tm_hour
+ Hour since midnight (0-23)
+
+
+ tm_mday
+ Day of the month (1-31)
+
+
+ tm_mon
+ Months since January (0-11)
+
+
+ tm_year
+ Years since 1900
+
+
+ tm_wday
+ Days since Sunday (0-6)
+
+
+ tm_yday
+ Days since January 1 (0-365)
+
+
+
+
+
+
+
+
+
+ &reftitle.examples;
+
+
+ strptime example
+
+
+]]>
+
+ &example.outputs.similar;
+
+ 19
+ [tm_min] => 54
+ [tm_hour] => 15
+ [tm_mday] => 3
+ [tm_mon] => 9
+ [tm_year] => 104
+ [tm_wday] => 0
+ [tm_yday] => 276
+ [unparsed] =>
+)
+]]>
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ strftime
+
+
¬e.no-windows;