Wow! Thank you! 

May I ask what "gteq" and "1teq" stand for?

Does TW's built-in date format have a way to tell it to display as 
year.month.day.timesecond? Then I could have the correct display AND take 
advantage of TW's built-in date format.

If I use the TW's built-in date format, would the proper code for that look 
like this:

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

On Wednesday, January 6, 2021 at 12:03:41 AM UTC+8 Mark S. wrote:

> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa32262f-080c-49a2-a92d-5bde0765a44dn%40googlegroups.com.

Reply via email to