I have a Date only field called closingDate. How would I use that field in a Styles expression as a means to hide the symbol on the map when that date is over?
Something like this:
// Variable containing closing day of event
var closingDay = $feature.closingDate
// Variable containing today's date in date only format
var todaysDate = DateOnly()
if (closingDay < todaysDate) {
return null;
}