From bc61e0549e1d0de3b3ef3b575a314ec81bbf51ef Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Wed, 7 Jan 2004 19:43:47 +0000 Subject: [PATCH] added example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148088 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/functions/checkdate.xml | 24 ++++++++++++++- reference/datetime/functions/gettimeofday.xml | 30 ++++++++++++++++++- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/reference/datetime/functions/checkdate.xml b/reference/datetime/functions/checkdate.xml index a17359b9e3..1a382a404f 100644 --- a/reference/datetime/functions/checkdate.xml +++ b/reference/datetime/functions/checkdate.xml @@ -1,5 +1,5 @@ - + @@ -38,6 +38,28 @@ + + + <function>checkdate</function> example + + +]]> + + + The above example will output: + + + + + + See also mktime and strtotime. diff --git a/reference/datetime/functions/gettimeofday.xml b/reference/datetime/functions/gettimeofday.xml index 54feb35c79..8f4a052d47 100644 --- a/reference/datetime/functions/gettimeofday.xml +++ b/reference/datetime/functions/gettimeofday.xml @@ -1,5 +1,5 @@ - + @@ -39,6 +39,34 @@ + + + + <function>gettimeofday</function> example + + + +]]> + + + The output will look similar to: + + + 1073504408 + [usec] => 238215 + [minuteswest] => 0 + [dsttime] => 1 +) +]]> + + +