mirror of
https://github.com/php/doc-it.git
synced 2026-04-26 00:38:03 +02:00
1c37529476
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@78500 c90b9560-bf6c-de11-be94-00142212c4b1
69 lines
2.1 KiB
XML
69 lines
2.1 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- splitted from ./it/functions/datetime.xml, last change in rev 1.1 -->
|
|
<!-- last change to 'checkdate' in en/ tree in rev 1.2 -->
|
|
<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready -->
|
|
<!-- OLD-Revision: 1.71/EN.1.2 -->
|
|
<refentry id="function.checkdate">
|
|
<refnamediv>
|
|
<refname>checkdate</refname>
|
|
<refpurpose>Verifica una data/orario gragoriana/o</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Descrizione</title>
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>checkdate</methodname>
|
|
<methodparam><type>int</type><parameter>mese</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>giorno</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>anno</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Restituisce &true; se la data inserita è valida; altrimenti restituisce &false;.
|
|
Controlla la validità di una data formata dagli argomenti. Una data
|
|
è considerata valida se:
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
anno è compreso tra 1 e 32767
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
mese è compreso tra 1 e 12
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<parameter>Giorno</parameter> è compreso tra il numero dei giorni possibile
|
|
per il <parameter>mese</parameter> dato. Gli
|
|
<parameter>anno</parameter>(i) bisestili sono presi in considerazione.
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
<para>
|
|
Guarda anche <function>mktime</function> e <function>strtotime</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
|
|
-->
|