Avatar

Level 10

This might be one of those cases where Javascript is nicer for Dates. There is a function in Javascript where you pass a date and you can get back the day of the week as a 0-6 value. Then you can test the returned value and if it is a 5 or 6 you can react accordingly. The function is Date.getDay().

As far as holidays are concerned you will have to check those one by one for your area.

Paul