The equivalent of DateSerial in Classic ASP
This will tests to see if strQuotedString is wrapped in quotation marks, and, ...
This script will replace single quotes so the data is SQL-safe
50 chars max.