Perhaps you could just use an array of months, and have thismonth-1 as the index.
----- Original Message ----- From: "Viljo Marrandi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 1:02 AM Subject: [Templates] date question > Hello, > > I use date plugin for TT. How can I print out month names if I only have > month's number? Let's say I know that month's number is 11 - how I can > make 'date' to print out November? I tried this: > > [% mydate = 11 %] > [% date.format( mydate, '%B' ) %] > > but it just prints January and that's it :(. Is this even possible to do > this? > > Rgds, > Viljo > > _______________________________________________ > templates mailing list > [EMAIL PROTECTED] > http://www.template-toolkit.org/mailman/listinfo/templates
