yannick Mon Dec 20 15:16:06 2004 EDT
Modified files:
/phpdoc/en/reference/datetime/functions date-sunrise.xml
date-sunset.xml
Log:
add output for examples
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date-sunrise.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/datetime/functions/date-sunrise.xml
diff -u phpdoc/en/reference/datetime/functions/date-sunrise.xml:1.3
phpdoc/en/reference/datetime/functions/date-sunrise.xml:1.4
--- phpdoc/en/reference/datetime/functions/date-sunrise.xml:1.3 Wed Sep 15
04:34:27 2004
+++ phpdoc/en/reference/datetime/functions/date-sunrise.xml Mon Dec 20
15:16:05 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.date-sunrise">
<refnamediv>
<refname>date_sunrise</refname>
@@ -79,11 +79,17 @@
offset: +1 GMT
*/
-echo date_sunrise(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
+echo date("D M d Y"). ', sunrise time : ' .date_sunrise(time(),
SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+Mon Dec 20 2004, sunrise time : 08:54
+]]>
+ </screen>
</example>
</para>
<para>
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date-sunset.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/datetime/functions/date-sunset.xml
diff -u phpdoc/en/reference/datetime/functions/date-sunset.xml:1.3
phpdoc/en/reference/datetime/functions/date-sunset.xml:1.4
--- phpdoc/en/reference/datetime/functions/date-sunset.xml:1.3 Wed Sep 15
04:34:27 2004
+++ phpdoc/en/reference/datetime/functions/date-sunset.xml Mon Dec 20
15:16:05 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.date-sunset">
<refnamediv>
<refname>date_sunset</refname>
@@ -79,11 +79,17 @@
offset: +1 GMT
*/
-echo date_sunset(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
+echo date("D M d Y"). ', sunset time : ' .date_sunset(time(),
SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+Mon Dec 20 2004, sunset time : 18:13
+]]>
+ </screen>
</example>
</para>
<para>