3 ms·
Re the annoying part, a different way to get the day of week in the rance 1–7 is 1+(6+strftime('%w',yyyymmdd))%7
by hanche 6y ago
Re the annoying part, a different way to get the day of week in the rance 1–7 is
1+(6+strftime('%w',yyyymmdd))%7