<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><br>
<br>
</div></div>You can&#39;t use stftime.<br>
You have to manually build a string with the format you want using the<br>
other methods inside DateTime.<br>
<br>
e.g. fetcha.aCommonZ() or build up your date using<br>
components such as; fetcha.day()  fetcha.month()  fetcha.year()<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br><br>I made a script what recive a parameter fecha(f)<br>script pFecha:<br>s=&quot;%02d-%02d-%04d&quot;<br>s=s % (f.day(),f.month(),f.year())<br>print s<br>
return printed<br><br><br>the call is &lt;td tal:content=&quot;python: container/pFecha(item.fecha)&quot;&gt;<br><br></div></div>Thanks <br>