<sect1 id="zend.date.output">

    <title>How to Output Dates</title>

    <sect2 id="zend.date.output.tostring">

        <title>Generating Date Strings Using toString()</title>

        <para>
            The <code>toString()</code> method automatically formats the date object according to the conventions of the object's locale, or an optionally specified <ocde>$locale</code>.
        </para>

    </sect2>

    <sect2 id="zend.date.output.tovalue">

        <title>toValue() - Partial Dates as Integers</title>

        <para>
            To obtain an integer for some part of the date, use <code>toValue($part)</code>.
        </para>

    </sect2>

    <sect2 id="zend.date.output.get">

        <title>get() - Partial Dates as Localized Strings</title>

        <para> get($part = null, $locale = null) </para>
        <para> This method returns the <code>$part</code> of object's date localized to <code>$locale</code> as a formatted string or integer
        </para>

    </sect2>

</sect1>
<!--
vim:se ts=4 sw=4 et:
-->

<sect1 id="zend.date.output">

    <title>How to Output Dates</title>

    <sect2 id="zend.date.output.tostring">

        <title>Generating Date Strings Using toString()</title>

        <para>
            The <code>toString()</code> method automatically formats the date object according to the conventions of the object's locale, or an optionally specified <code>$locale</code>.
        </para>

    </sect2>

    <sect2 id="zend.date.output.tovalue">

        <title>toValue() - Partial Dates as Integers</title>

        <para>
            To obtain an integer for some part of the date, use <code>toValue($part)</code>.
        </para>

    </sect2>

    <sect2 id="zend.date.output.get">

        <title>get() - Partial Dates as Localized Strings</title>

        <para> get($part = null, $locale = null) </para>
        <para> This method returns the <code>$part</code> of object's date localized to <code>$locale</code> as a formatted string or integer
        </para>

    </sect2>

</sect1>
<!--
vim:se ts=4 sw=4 et:
-->

Fix typo in tag name.
Fix typo in tag name.

git-svn-id: b6e219894c353fb1d215c78b2075057d8daadfba@2889 44c647ce-9c0f-0410-b52a-842ac1e357ba
