Il 18/01/15 07:48, Mark Anderson ha scritto:
> Should be an easy one...
> How do I subtract one day from a request.now? Seems like it should be
> easy but I can't find clear documentation. I tried subtracting 86400
> but request.now is in a datetime format.
> Thanks in advance. 
only timedelta and other datetime can be subtracted from a datetime...
look for the related documentation :)

    M.

-- 
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.

Reply via email to