Temporarily commented out date-handling code, to enable testing against
live MS SqlServer instance