Re: [Zope] DateTime problem
14 Nov
2000
14 Nov
'00
11:08 p.m.
Alejandro Pancani writes:
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?
<dtml-call "REQUEST.set('tmplist',_.string.split(udate,'/'))"> <dtml-call "tmplist.reverse()"> <dtml-var "ZopeTime(_.string.join(tmplist,'/'))"> is one solution. Dieter
9275
Age (days ago)
9275
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer