How can I find out how many days there are in a month for example to validate this information?

If I set the date as 29 Feb 2002 it ends up as 1 March 2002 - so no validation there.

Cheers,

Dale