DataviewJS - How to compare date of field like Date::2022-09-02 in dataviewjs #1394
Unanswered
Another5405
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You're comparing a date type to a string. Cast them to the same type, either both string or both date. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to compare Date like file.Date == "2022-09-02"
but this compare always return Error,
and then I test the date of field
=SomeNote=
In edit mode:
Date::2022-09-02
In preview mode:
Date::2022-09-02
9 02, 2022
========
I try the way I was learn but not working, request for help , thank you.
Beta Was this translation helpful? Give feedback.
All reactions