cvs: phpdoc-ro /reference/datetime/functions mktime.xml
| From: | Simion Onea | Date: | Fri, 26 Jun 2009 06:20:39 +0000 |
| Subject: | cvs: phpdoc-ro /reference/datetime/functions mktime.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-727@lists.php.net to get a copy of this message | ||
simionea Fri Jun 26 06:20:39 2009 UTC
Modified files:
/phpdoc-ro/reference/datetime/functions mktime.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/datetime/functions/mktime.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-ro/reference/datetime/functions/mktime.xml
diff -u phpdoc-ro/reference/datetime/functions/mktime.xml:1.7
phpdoc-ro/reference/datetime/functions/mktime.xml:1.8
--- phpdoc-ro/reference/datetime/functions/mktime.xml:1.7 Sun Jan 25 10:20:34 2009
+++ phpdoc-ro/reference/datetime/functions/mktime.xml Fri Jun 26 06:20:39 2009
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.7 $ -->
-<!-- EN-Revision: 1.29 Maintainer: simionea Status: ready -->
+<!-- $Revision: 1.8 $ -->
+<!-- EN-Revision: 1.31 Maintainer: simionea Status: ready -->
<!-- CREDITS: adiju -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
<refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook">
@@ -177,6 +177,25 @@
&reftitle.examples;
<para>
<example>
+ <title>Exemplu simplu <function>mktime</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+// StabileÈte fusul orar implicit pentru a fi utilizat. Disponibil începând cu PHP 5.1
+date_default_timezone_set('UTC');
+
+// AfiÈeazÄ: July 1, 2000 is on a Saturday
+echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000));
+
+// AfiÈeazÄ ceva de felul: 2006-04-05T01:02:03+00:00
+echo date('c', mktime(1, 2, 3, 4, 5, 2006));
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
+ <example>
<title>Exemple <function>mktime</function></title>
<para>
<function>mktime</function> este utilÄ pentru a face operaÅ£ii aritmetice
Åi