From: Trans Date: 2009-01-13T21:35:55+09:00 Subject: Re: extending strftime On Jan 13, 6:41 am, Lin Wj wrote: > can i change the options which is recognized by strftime > eg: > '%Y %m %d'  will apply the format of YYYY mm dd > > can i do something like extending strftime to recognize 'YYYY mm dd' > instead ? why not write your own Time method? you don't need to override strftime. > because right now , i am running the format string which i get(YYYY mm > dd) through a regex and converting them to the parameters which strftime > recognizes > > or please do suggest alternate methods T.