Fixed a bug that did not properly convert numeric day of week.  Monday = 0.