class="literal">d</code>), the format
        mask (<code class="literal">fmt</code>) and the string that will hold the textual
        representation of the date (<code class="literal">str</code>).
       </p><p>
        On success, 0 is returned and a negative value if an error occurred.
       </p><p>
        Internally this function uses the <a class="xref" href="ecpg-pgtypes.html#PGTYPESDATEFMTASC"><code class="function">PGTYPESdate_fmt_asc</code></a>
        function, see the reference there for examp