Assuming you went with the dotted date notation, you could use:

<$vars 
myrange="[get[class-date]compare:text:gteq[2021.07.01]compare:text:lteq[2021.12.31]]"
 
>
<$count filter="[tag[Class Log - Jane Doe]has[class-date]filter<myrange>]"/>
</$vars>

If you used TW's built-in date format, then there is a compare suffix for 
dates. 

On Tuesday, January 5, 2021 at 6:17:00 AM UTC-8 Sapphireslinger wrote:

> May I ask the correct way to write this?
>
> <$count filter="[tag[Class Log - Jane Doe]has[class-date]range[July to 
> December 2021]]"/> 
>
> I would like to count how many classes with Jane Doe were taught between 
> July and December 2020. Each tiddler will have a "class-date" field with a 
> date like 2020.12.01.1000 or 202012011000 or 202012011000000.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/000b6ced-0ad2-4f69-91a3-35f4bba2c891n%40googlegroups.com.

Reply via email to