Just noticed the 'week of' functions were totally wrong, except for Sunday based weeks. I could use more eyes on this, as I am preparing to do battle (again)with strftime() to make it fully C90 compliant. That will leave 'difftime()' as the only departure from the standard, i think!
Changed paths: