var data_range = sheet.getDataRange();
var today= new Date();
today.setHours(0,0,0,0);
var row = 21 // row to look at for the upcoming meeting
{
var mtg_date = data_range.getCell(row,1).getValue(); // get the top date to compare to today's Date
mtg_date.setHours(0,0,0,0);
if(mtg_date = today)
{
the issue is that as is, the line "if(mtg_date = today)" is actually setting mtg_date to today's value,.
If I change that line to "if(mtg_date == today)", then it just never evaluates as true, even if the dates match.
Any thoughts on what I am doing incorrectly, please? (or how to do the evaluation correctly)
Thank you in advance!