cvs: phpdoc-pl /reference/datetime/functions time.xml
| From: | Adam Major | Date: | Thu, 04 Jan 2007 22:56:22 +0000 |
| Subject: | cvs: phpdoc-pl /reference/datetime/functions time.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-962@lists.php.net to get a copy of this message | ||
adi Thu Jan 4 22:56:22 2007 UTC
Modified files:
/phpdoc-pl/reference/datetime/functions time.xml
Log:
Update to EN-Rev 1.9
http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/datetime/functions/time.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-pl/reference/datetime/functions/time.xml
diff -u phpdoc-pl/reference/datetime/functions/time.xml:1.6
phpdoc-pl/reference/datetime/functions/time.xml:1.7
--- phpdoc-pl/reference/datetime/functions/time.xml:1.6 Fri Aug 4 00:02:27 2006
+++ phpdoc-pl/reference/datetime/functions/time.xml Thu Jan 4 22:56:22 2007
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.8 Maintainer: adi Status: ready -->
-<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.9 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.time">
<refnamediv>
<refname>time</refname>
@@ -31,6 +31,8 @@
// 7 dni; 24 godziny; 60 minut; 60 sekund
echo 'Teraz: '. date('Y-m-d') ."\n";
echo 'Za tydzieñ: '. date('Y-m-d', $nextWeek) ."\n";
+// lub u¿ywaj±c strtotime():
+echo 'Za tydzieñ: '. date('Y-m-d', strtotime('+1 week'))
."\n";
?>
]]>
</programlisting>
@@ -38,7 +40,8 @@
<screen>
<![CDATA[
Teraz: 2005-03-30
-Za tydzieñ: 2005-04-07
+Za tydzieñ: 2005-04-06
+Za tydzieñ: 2005-04-06
]]>
</screen>
</example>