From 24cee2dd6a1b8dbfbb21598f6eb20e50aa39ee30 Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Sat, 12 Sep 2009 09:09:38 +0000 Subject: [PATCH] Document how to cause unspecified portions of the time given to createFromFormat() to be initialized to zero. Addresses bug #49480. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288278 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/datetime/createfromformat.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reference/datetime/datetime/createfromformat.xml b/reference/datetime/datetime/createfromformat.xml index 68c5bf1b1b..31599105c6 100644 --- a/reference/datetime/datetime/createfromformat.xml +++ b/reference/datetime/datetime/createfromformat.xml @@ -50,6 +50,15 @@ + + If the first character of format + is !, then portions of the date/time value + generated which are not specified in + time will be initialized to zero. If the + first character of format is + not ! then portions of the date/time value + generated will be initialized to the current system time. +