Hi OK I am being lazy but unnecessarily reinventing the wheel is not my idea of fun. I need a script to populate database fields for year, month, day of month, day of week to a rule e.g start year, month, day end year month day exclude [days of week] [from year, month, day to year, month, day] [specific dates] If no one has one you can point me to then contact me in a week or two and ask for mine <chuckles> thanks david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php