This is guru level
I only missed the minutes part of the targeted time, a first wild guess seems to work for 'is true when less than 15 minutes before 18.30h:
new Date().setHours(18-Number.parseInt(_.last(date('DATETIME', null, 'en'))),30,0,0) - Date.now() < 15*60*1000;
2 Likes