EffectiveWay To Store Date Definitions
Posted: Mon Sep 01, 2008 3:01 am
I need a table to store the 'definition' of dates (not an actual date).
For example, "First and third Friday of every month", "The 25th of December", "Every Monday and Wednesday", and "The last Sunday of February".
They need to be stored in such a way that a script can easily pull out the rules and see if today matches any of them.
Any Ideas?
For example, "First and third Friday of every month", "The 25th of December", "Every Monday and Wednesday", and "The last Sunday of February".
They need to be stored in such a way that a script can easily pull out the rules and see if today matches any of them.
Any Ideas?