3 ms·
What a fascinating way to solve the problem. You want Sunday as the first day? Fine, do your index zero-based and Sunday is Zero. You want Monday as the first
by calinet6 11y ago
What a fascinating way to solve the problem.
You want Sunday as the first day? Fine, do your index zero-based and Sunday is Zero.
You want Monday as the first day? Fine, index 1-based and use 7 for Sunday.
Kind of brilliant.
- Daneel_ 11y agoCompletely agree. When I first started using cron I was chuffed at this.