my_datetime = datetime.datetime.now()
my_delta = datetime.timedelta(minutes=3)
my_newdatetime = my_datetime + my_delta
--
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
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
2 matches
Mail list logo