I am very new to velo coding and have no knowledge of java whatsoever. So sorry if this may seem a stupid question.
I have tried to apply this (https://www.wix.com/velo/forum/coding-with-velo/display-repeater-items-depending-on-date-only-futur-events), but I receive an error.
The aim is to show all items in the repeater where the release date is passed or the same date as today. I used the .le function. However, the error I get is “ReferenceError: date is not defined” and highlighting that the error is in the line where the " let today = new date ();" is . So somehow I am missing something. Can anyone help?
My code is:
$w . onReady ( function () { let today = new date (); $w ( " #db_Content " )
. setFilter ( wixData . filter () . le ( " releaseDate " , today ) ); });
All help is appreciated.