How to compare with unix time (timestamps) and date time?

I want to search for tasks “DONE” on certain days. So I created query like this, but it got nothing. I think the reason is that “created-at” generates timestamp format, it may not be comparable with date format. So I want to know how to convert date format (yyyyMMdd) to unix time or make them comparable. Can somebody help?

    :title "find done tasks"
    :query [:find (pull ?b [*])
          :in $ ?start ?end
          :where
          [?b :block/marker ?marker]
          [(contains? #{"DONE"} ?marker)]
          [?b :block/updated-at ?v]
          [(>= ?v ?start)]
          [(< ?v ?end)]
          ]
    :inputs [20220504 20220505]
1 Like

Yes, I would also love to have a “created at x time” and “last modified at” a certain time for each block. That the version history currently only says “week” ago is also not helpful for this - maybe through a plugin?

Concerning conversion for comparison, have you checked this thread?
List of recently created/modified pages (timestamp issues)