How do I setup an arcade expression that compares the Scheduled_Site_Visit field "8/11/2021, 1:00:00 PM" to todays date and if it equals todays date which is 8/11/2021 then tell the list for item 8/11/2021 to change the background color to red (hex code: #F3DED7) ?
var today_date = Today();
var color = IIF($datapoint.Schd_Site_Visit == today_date, '#F3DED7','');
return {
textColor: '',
backgroundColor: color,
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
// attributes: {
// attribute1: '',
// attribute2: ''
// }
}
