[PHP-DOC] cvs: phpdoc /en/reference/datetime/functions time.xml
nlopess Mon Jan 1 10:34:56 2007 UTC Modified files: /phpdoc/en/reference/datetime/functions time.xml Log: typo in the example output. add also strtotime(+1 week) to the example http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/time.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/datetime/functions/time.xml diff -u phpdoc/en/reference/datetime/functions/time.xml:1.8 phpdoc/en/reference/datetime/functions/time.xml:1.9 --- phpdoc/en/reference/datetime/functions/time.xml:1.8 Tue Jul 11 07:05:04 2006 +++ phpdoc/en/reference/datetime/functions/time.xml Mon Jan 1 10:34:56 2007 @@ -1,5 +1,5 @@ - + time @@ -30,6 +30,8 @@ // 7 days; 24 hours; 60 mins; 60secs echo 'Now: '. date('Y-m-d') ."\n"; echo 'Next Week: '. date('Y-m-d', $nextWeek) ."\n"; +// or using strtotime(): +echo 'Next Week: '. date('Y-m-d', strtotime('+1 week')) ."\n"; ?> ]]> @@ -37,7 +39,8 @@
[PHP-DOC] cvs: phpdoc /en/reference/datetime/functions time.xml
seanWed Mar 30 23:03:21 2005 EDT Modified files: /phpdoc/en/reference/datetime/functions time.xml Log: added example http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/time.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/datetime/functions/time.xml diff -u phpdoc/en/reference/datetime/functions/time.xml:1.4 phpdoc/en/reference/datetime/functions/time.xml:1.5 --- phpdoc/en/reference/datetime/functions/time.xml:1.4 Sat Dec 20 23:21:43 2003 +++ phpdoc/en/reference/datetime/functions/time.xml Wed Mar 30 23:03:19 2005 @@ -1,5 +1,5 @@ - + @@ -17,6 +17,28 @@ the Unix Epoch (January 1 1970 00:00:00 GMT). + + time example + + + + &example.outputs.similar; + + + + + + See also date and microtime.
[PHP-DOC] cvs: phpdoc /en/reference/datetime/functions time.xml
ali Mon Nov 3 14:12:25 2003 EDT Modified files: /phpdoc/en/reference/datetime/functions time.xml Log: added "See also" to microtime Index: phpdoc/en/reference/datetime/functions/time.xml diff -u phpdoc/en/reference/datetime/functions/time.xml:1.2 phpdoc/en/reference/datetime/functions/time.xml:1.3 --- phpdoc/en/reference/datetime/functions/time.xml:1.2 Wed Apr 17 02:37:12 2002 +++ phpdoc/en/reference/datetime/functions/time.xml Mon Nov 3 14:12:25 2003 @@ -1,5 +1,5 @@ - + @@ -17,7 +17,7 @@ the Unix Epoch (January 1 1970 00:00:00 GMT). - See also date. + See also date and microtime.