leszek Fri Jun 14 22:00:04 2002 EDT Added files: /phpdoc-pl/reference/datetime/functions gmdate.xml Log: [qrak] Datetime upload
Index: phpdoc-pl/reference/datetime/functions/gmdate.xml +++ phpdoc-pl/reference/datetime/functions/gmdate.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.1 Maintainer: Qrak Status: ready --> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --> <refentry id="function.gmdate"> <refnamediv> <refname>gmdate</refname> <refpurpose>Formatuje datę/czas dla strefy GMT/CUT</refpurpose> </refnamediv> <refsect1> <title>Opis</title> <methodsynopsis> <type>string</type><methodname>gmdate</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>znacznik_czasu</parameter></methodparam> </methodsynopsis> <para> Identyczna do funkcji <function>date</function>, z wyjątkiem tego, że zawsze podaje czas Greenwich (Greenwich Mean Time - GMT). Na przykład w Polsce (GMT +0100 dla czasu zimowego) pierwsza linia zwraca "Jan 01 1998 00:00:00", podczas gdy druga "Dec 31 1997 23:00:00". <example> <title>przykład <function>gmdate</function></title> <programlisting role="php"> <![CDATA[ echo date ("M d Y H:i:s", mktime (0,0,0,1,1,1998)); echo gmdate ("M d Y H:i:s", mktime (0,0,0,1,1,1998)); ]]> </programlisting> </example> </para> <para> Patrz także <function>date</function>, <function>mktime</function>, <function>gmmktime</function> i <function>strftime</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->