I’m beginning to think the following is not possible but perhaps someone can figure this out.
I have to work with an bean counter (accountant) who breaks months down into periods that run from the 1st of the month up to and including the first Sunday for period one, then from Monday to Sunday as period two and so on until the last period which is Monday up to the end of the month.
October 2005 periods would be…
Wed 1st to Sun 5th
Mon 6th to Sun 12th
Mon 13th to Sun 19th
Mon 20th to Sun 26th
Mon 27th to Fri 31st
Without physically building a table to cover the foreseeable future (say 10 years), how could I work this out programmatically?
At the moment I have the user selecting the year and month from a popup so I have input in character format
EG: “10-October” and “2008” or “06-June” and “2006”.
HELP!!!
Aussie Ken Philippines (Camiguin Island)
I have to work with an bean counter (accountant) who breaks months down into periods that run from the 1st of the month up to and including the first Sunday for period one, then from Monday to Sunday as period two and so on until the last period which is Monday up to the end of the month.
October 2005 periods would be…
Wed 1st to Sun 5th
Mon 6th to Sun 12th
Mon 13th to Sun 19th
Mon 20th to Sun 26th
Mon 27th to Fri 31st
Without physically building a table to cover the foreseeable future (say 10 years), how could I work this out programmatically?
At the moment I have the user selecting the year and month from a popup so I have input in character format
EG: “10-October” and “2008” or “06-June” and “2006”.
HELP!!!
Aussie Ken Philippines (Camiguin Island)