Hey all,
I have a curious problem, and i was wondering if you have any insight on how this can be solved.
We have a rule at our office to have every 1st and 3rd saturday off for each month. And occasionally i need to do some arbitrary calendar math as well. I was wondering if there's any software out there (or a scripting language) that has excellent support for this? For example... If I should type
Print (1st Saturday of each month in 2009)
output: 2009-01-03, 2009-02-07 ...etc.
or calendar output: Show the calendar with all the selected dates circled/highlighted.
Select (Last Weekend (Sat & sun) of each month in 2009)
...etc.
Have any of you come across any such program, scripting language ...etc? That makes calendar/date manipulation easY? As a bonus if it could display calendars with the operations it would be great!
I have a curious problem, and i was wondering if you have any insight on how this can be solved.
We have a rule at our office to have every 1st and 3rd saturday off for each month. And occasionally i need to do some arbitrary calendar math as well. I was wondering if there's any software out there (or a scripting language) that has excellent support for this? For example... If I should type
Print (1st Saturday of each month in 2009)
output: 2009-01-03, 2009-02-07 ...etc.
or calendar output: Show the calendar with all the selected dates circled/highlighted.
Select (Last Weekend (Sat & sun) of each month in 2009)
...etc.
Have any of you come across any such program, scripting language ...etc? That makes calendar/date manipulation easY? As a bonus if it could display calendars with the operations it would be great!






) - and involving a scripting language (for easily and rapidly updating calendar rules without having to re-build the app) sounds like a really good idea. Personally I'd start by looking a bit at JavaScript, since it's one of those things I haven't gotten around to using yet. I know it has date routines, but dunno how easy they are to use.
- carpe noctem
)


