// Opacity property
days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
targetDay = "Tuesday";
// Change this to desired day
today = days[(new Date(Date.now())).getDay()];
today == targetDay ? 100 : 0;
Reads today’s weekday from your computer clock and sets layer opacity to 100% only if it matches your chosen day.
Contributed by:
Show or hide graphics automatically on specific weekdays - ideal for daily promos or social-media templates used in After Effects automation.