Date Logic

We already have the notion of a daily note. And several people have mentioned things like calendar integration. I personally would like to have a plugin that would allow for searches like "Before @due(2020-05-20).

I’m wondering aloud here if there are any changes that need to be made in core so as to make these things possible. I’m assuming that the majority of this logic would be done in the plugins in question, but it might be worth exposing certain things in the API to make that easier.