I am developing an online booking application where  
I am storing the date  using the date type of 
web2py which stores the date in yyyy-mm-dd format. 
I need to store the data in dd-mm-yyyy format in 
the datastore.

For this I tried to use this :
date.requires = IS_DATE(format=T('%d-%m-%Y')

Though it takes the date in dd-mm-yyyy format 
it does not store in the dd-mm-yyyy format.It still 
stores in yyyy-mm-dd format

Please provide suggestion

Thanks

Reply via email to