try a fake timestamp with real month number such as:

[% mydate = '0:0:0 1/11/2000' %]
[% date.format( mydate, '%B' ) %]


kktos

----- Original Message ----- 
From: "Viljo Marrandi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 17, 2001 5:02 PM
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
> 



Reply via email to