Thanks for the reminder.
I keep forgetting you can convert fields to scripts in Tape.
Adding a code snippet below so it can help someone in the future.
Update “America/Detroit” to your Timezone
Replace “MYDATEFIELD” with your items date
function checkDate(dateField) {
// Get the current date
const currentDate = new Date();
// Convert the current date to Eastern Detroit Timezone
const currentDateString = currentDate.toLocaleString("en-US", { timeZone: "America/Detroit" });
const currentDateDetroit = new Date(currentDateString);
// Extract the month and date
const currentMonth = currentDateDetroit.getMonth();
const currentDay = currentDateDetroit.getDate();
// Parse the date field
const dateToCheck = new Date(MYDATEFIELD);
// Convert the date field to Eastern Detroit Timezone
const dateToCheckString = dateToCheck.toLocaleString("en-US", { timeZone: "America/Detroit" });
const dateToCheckDetroit = new Date(dateToCheckString);
// Extract the month and date from dateField
const checkMonth = dateToCheckDetroit.getMonth();
const checkDay = dateToCheckDetroit.getDate();
// Compare and return result
return (currentMonth === checkMonth && currentDay === checkDay);
}