Like Anthony said, without seeing your code we can't help. What exactly do
you mean by "is not able to recognize date fields as date"?
As an alternative to dateutil you could also look into the Pendulum package
(https://pendulum.eustace.io/) which makes playing with dates even easier.
On Frida
On Friday, December 9, 2016 at 8:31:37 AM UTC-8, Amit Kumar Modak wrote:
>
> How to get the difference of two date field in years.
> dateutil.relativedelta.relativedelta is not working as it is not able to
> recognise date fields as date.
>
>
>
datetime.timedelta ?
https://docs.python.org/2/lib
On Friday, December 9, 2016 at 11:31:37 AM UTC-5, Amit Kumar Modak wrote:
>
> How to get the difference of two date field in years.
> dateutil.relativedelta.relativedelta is not working as it is not able to
> recognise date fields as date.
>
Always show your code.
--
Resources:
- http://web2py.
3 matches
Mail list logo