posted 20 years ago
I've been through the Calendar class, Basically it's easy to just add time to a given date. I need to be able to calculate - say - 12 hours from a given date to incorporate the buisiness hours. If the buisiness' hours are from 8am - 5pm, and 12 hours have to be added from, say 2pm, normally the result would be 2am the following morning, but, the buissiness won't be open then. So 12 working hours from 2pm should be 5pm the following day OR 8am the day after that. I also have to incorporate weekends and public holidays, if the buisiness is closed over these periods.
Hope you'll be able to help me with this.
Cheers...