This seems promising - what if you want to use &input= todays date? I want to ensure that resources that are being sorted by an unpublish date and subsequently being called by &showUnpublished property are not called because they are past todays date.
The &where property seems to be the answer but I can't seem to get todays date to call.
I have this snippet being used as part of MIGX in a getImageList call:
&where={"date:>" : "[[!strftime? &format=`%d-%m-%Y`]]"}
Snippet code:
<?php
return strftime($format);
I tried to use this snippet like this:
[[getResources? &tpl=`monthlyCalendar` &sortby=`unpub_date` &where=`{"unpub_date": "[[!strftime? &format=`%d-%m-%Y`]]"}` &showUnpublished=`1` &sortdir=`asc` &includeContent=`1` &includeTVs=`1` &processTVs=`1` &showHidden=`1` &limit=`12` ]]
but no joy - any other suggests?