-
When a task use timestamp with link (e.g. I tried the following conditions are not working:
Markdown Sample---
tags:
- "query-date-with-link-demo"
---
## Tasks
- [ ] First Task [due:: [[2022-12-01]]]
- [ ] Second Task [due:: [[2022-12-05]]]
## Dataview Query
Note: `WHERE due <= date("[[2022-12-01]]")` not works.
```dataview
TASK
FROM #query-date-with-link-demo
WHERE due <= date("[[2022-12-01]]")
``` Dataview Query ResultReferencesThanks |
Beta Was this translation helpful? Give feedback.
Answered by
edentsai
Dec 16, 2022
Replies: 1 comment 3 replies
-
I found the resolution is use TASK
FROM #query-date-with-link-demo
- WHERE due <= date("2022-12-01")
+ WHERE date(due) <= date("2022-12-01") |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
edentsai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the resolution is use
date(due)
to transform the link[[2022-12-01]]
to DateTime: