On Tuesday, January 5, 2021 at 6:57:44 PM UTC-8 Sapphireslinger wrote:

> Wow! Thank you! 
>
> May I ask what "gteq" and "1teq" stand for?
>
>
gteq -- greater than or equal
lteq (not 1teq) -- less than or equal
 

> 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.
>
>
You can use the view widget with it's date format, and date template to 
display however you want.
 

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>
>
>
Well, the variable would be like:

<$vars 
myrange="[get[class-date]compare:date:gteq[20210701]compare:date:lteq[20211231]]"
 
>

Notice that "suffix" is "date", and the dots are gone.

But I haven't played with it to know if those dates are local time or UTC 
time (which the TW date format uses). I suspect they're UTC dates. If the 
dates you specify need to be UTC, then your level of happiness may depend 
on how close to the international timeline you live, and how late you stay 
up.



-- 
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/05643b3e-067b-442a-95da-5a1d3e501204n%40googlegroups.com.

Reply via email to