[web2py] Calculating the number of days from given dates givesa null value!

2019-10-11 Thread Dave S
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) -

[web2py] Calculating the number of days from given dates givesa null value!

2019-10-11 Thread mostwanted
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