Re: [web2py] function in query
2011/2/11 Manuele Pesenti : > (...) > TypeError: float() argument must be a string or a number > > Thank you very much for any help. > >Manuele > where/why is the/a float argument?
[web2py] function in query
Hi, how can I select records of a table that got 2 date fields (one datetime and a simple date) wich difference is a fixed value? I thought this solution: import datetime today=datetime.datetime.today() yesterday = today.date() - datetime.timedelta(days=1) db.define_table('mytab', ...