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 alejandrop1@topgroup.com.ar
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 alejandrop1@topgroup.com.ar
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (2)
-
Aaron Payne -
Alejandro Pancani