[Zope-dev] date formatting / extracting substrings

2000-09-06 Thread Jeff Nielsen / Ugo Fast
Hello out there in Zope world! Again, I'm completely baffled by Zope and the docs are no help either. I'm trying to take an input of a date in the form MM as the variable MonthID and create a string in the form Month, as a variable named MonthName. For instance, a MonthID of 29 shoul

Re: [Zope-dev] date formatting / extracting substrings

2000-09-07 Thread Paul Erickson
If you've already done some validation and can guarantee that there are 6 characters in the string, you can slice the month out of the string like this: or, if you just want to display the month, use this: -Paul Jeff Nielsen / Ugo Fast wrote: > > Hello out there in Zope world! > > Again,