Since you are working with date fields, just do the time timedelta directly.
I don't know where the None comes from, but why bother with strptime?
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I am lost for words & a-little infuriated at this point, a formula that has
been working & is working in other applications is not working today when
applied to another app!!
I am simply trying to get the number of days from the given dates but the
formula gives a NONE value! But i have applied
2 matches
Mail list logo