How to compare 2 date object and get total diff days #684
-
|
Beta Was this translation helpful? Give feedback.
Answered by
blacksmithgu
Nov 25, 2021
Replies: 1 comment
-
I think I may not be supporting this use case properly - it should be This will be fixed for 0.5.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HuangZhuo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I may not be supporting this use case properly - it should be
= (date(today) - date(2021-10-08)).days
but that only gives the day component, not the total time in days.This will be fixed for 0.5.0.