Re: 'Prime Time' calculator

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 25 Oct 2004, at 12:51, Pete wrote:

> 
> 
> posted by: Pete <pete_stoner at btconnect.com>
> 
> Hi All,
>      As an addition to an existing program I need to come up with a 
> function to tell me if the current day/time is in working hours 
> (Prime Time), using time() it's easy for < 9.00 or > 17.30 and a Saturday 
> or Sunday, however it is slightly more tricky if it is a public holiday.
> Fixed days like Christmas shouldn't be too bad (remembering to allow if 
> it falls on a weekend it shifts to a weekday) but 'movable' dates like 
> Easter are another story..

Will you be doing all the pagan, jewish, hindu, islamic, and secular 
holidays
too?

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu