On Jan 13, 6:41   
> can i change the options which is recognized by strftime
> eg:
> '%Y %m %d'      
>
> 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.