From 161a1ff436a086652fd3f43a6c01766a9f0093ec Mon Sep 17 00:00:00 2001 From: Daniel Convissor Date: Thu, 27 Aug 2009 22:23:39 +0000 Subject: [PATCH] make interval param an interval object/link now that interval format is properly documented. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287822 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/datetime/add.xml | 7 +------ reference/datetime/datetime/sub.xml | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/reference/datetime/datetime/add.xml b/reference/datetime/datetime/add.xml index d0625f8b0d..3a6c87f314 100644 --- a/reference/datetime/datetime/add.xml +++ b/reference/datetime/datetime/add.xml @@ -38,12 +38,7 @@ - The amount to be added. For the date use "P3D", "P3M", "P3Y" or a - combination of the three e.g. "P2M5D" (Y = Years, M = Months, D = Days.) - MUST BE YEAR MONTH DAY FORMAT "P5Y", "P5M2D", "P5Y4D". For the time use - "T3H", "T3M", "T3S" or a combination of the three e.g. "T5H20M" (H = - Hours, M = Minutes, S = Seconds). For dateTime use "P5Y2M4DT5H20M". The - digit before the letter (NOT P or T) can be any amount. + A DateInterval object diff --git a/reference/datetime/datetime/sub.xml b/reference/datetime/datetime/sub.xml index ca91ba36ad..ea3fea5ff5 100644 --- a/reference/datetime/datetime/sub.xml +++ b/reference/datetime/datetime/sub.xml @@ -38,12 +38,7 @@ - The amount to be subtracted. For the date use "P3D", "P3M", "P3Y" or a - combination of the three e.g. "P2M5D" (Y = Years, M = Months, D = Days.) - MUST BE YEAR MONTH DAY FORMAT "P5Y", "P5M2D", "P5Y4D". For the time use - "T3H", "T3M", "T3S" or a combination of the three e.g. "T5H20M" (H = - Hours, M = Minutes, S = Seconds). For dateTime use "P5Y2M4DT5H20M". The - digit before the letter (NOT P or T) can be any amount. + A DateInterval object