Hey MODX people,
I'd like to filter the output of getResources by the current date. I have "event" as a template with "eventdate" as a TV.
I use the snippet "toDay" go get.. well: today
My getResources call contains this:
&tvFilters=`Eventdate>=[[!toDay]]`
As these two formats are different, I dont know how to compare them. Its easy to display them in the same format, but in the tvFilters, I dont have this opportunity. Have I?
Its important for me that a 1pm event does not disappear at 2pm. So it's really "today".
Cheers,
Guido
[ed. note: gallenkamp last edited this post 14 years ago.]