Re: [web2py] How to Change the date format

2012-02-14 Thread Sanjeet Kumar
Thanks



Re: [web2py] How to Change the date format

2012-02-14 Thread Sanjeet Kumar
Thanks


[web2py] How to Change the date format

2012-02-12 Thread Sanjeet Kumar
Hi to all,

I want to change the date format during the insertion in database
default is YYY-MM-DD but i want to insert in database by using the DD-
MM- and Month should be in the 'jan' format .

Please help me


Re: [web2py] How to Change the date format

2012-02-12 Thread Manuele Pesenti

Il 13/02/2012 08:40, Sanjeet Kumar ha scritto:

Hi to all,

I want to change the date format during the insertion in database
default is YYY-MM-DD but i want to insert in database by using the DD-
MM- and Month should be in the 'jan' format .

Please help me

have a look here

http://web2py.com/books/default/chapter/29/7

and here

http://docs.python.org/library/datetime.html#strftime-and-strptime-behavior

:)

M.