I would like to schedule an alarm for certain days of the week. For example Tues, Wed, and Thurs I would like my good morning scene to run at 05:45 and on Monday and Friday I would like that same mode to run at 06:00 but I cant seem to figure out how to get the current day of week. Any idea?
OK so this is what I am now doing to get the curent day of week: timeToday(timeOfDay)-1).format(“EEEE”). In this example, “timeOfDay” is user provided. What do all of you think of getting the current day of week this way? Is there a better way?