To view it as a DateTime object:

<dtml-var "_.DateTime(yourstring)">

or
Create a DateTime object with an id of datestring to be rendered later.
<dtml-call "REQUEST.set('datestring',_.DateTime(yourstring)">

To view it:
<dtml-var datestring>

At 12:03 AM 11/15/00 -0300, Alejandro Pancani wrote:
>if I have a string that represent a date with the format dd/mm/yyyy
>How could I do to obtain a DateTime object from it?
>
>
>Alejandro Pancani
>[EMAIL PROTECTED]
>
>
>
>_______________________________________________
>Zope maillist  -  [EMAIL PROTECTED]
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to