6 Jun
2000
6 Jun
'00
3:12 p.m.
Can you help me ? I have some dates in a DataBase but I receive them in string after a query and it's in international format, I would like transform it in french format. With <dtml-var date fmt=%d%m%y>, it doesn't work. Do you know how can I transform it with strings: I receive : 2000-04-13 I want : 13-04-2000 or : 13 april 2000 (this one is better but ???) I thanks you a lot, please help me. Vincent.
6 Jun
6 Jun
4:49 p.m.
New subject: [Zope] zope:change strings on place
Vincent Maton wrote:
I receive : 2000-04-13
I want : 13-04-2000
<dtml-var "_.DateTime(date)" fmt="%d-%m-%Y">
or : 13 april 2000 (this one is better but ???)
<dtml-var "_.DateTime(date)" fmt="%d %B %Y"> Try <dtml-var "_.DateTime(date)" fmt="%x"> ...as well cheers, Chris
9435
Age (days ago)
9435
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chris Withers -
Vincent Maton