Hello all,
I have a table in database as:
db.define_table('job',
Field('schedule_time','datetime',default = request.now))
I want to compare the (value in schedule_time field + 3 minutes) with
current time(getting that by using request.now).
So my question is does web2py handles this adding minutes someway or i have
to manage this by myself( as i will access minute field and add 3 in that,
then i have to handle that if minutes become more than 56 then i have to
make respective changes in hour field and if value of hour field will
exceed 24 then make changes in day field too).
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.