I've already tried this, but it didn't work. I get this error. <type 'exceptions.AttributeError'> type object 'datetime.datetime' has no attribute 'timedelta' On Friday, November 20, 2015 at 1:00:07 PM UTC+5, Annet wrote: > > It should be: > > datetime.timedelta(hours=1) > > So: > > db(db.myTable.id == 1).update(start = db.myTable.start + > datetime.timedelta(hours=1)) > > Hope this helps. > > Kind regards, > > Annet >
-- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.