You can format the date any way you want in QV. Your first example is MM/DD/YYYY hh:mm:ss, while the 2nd is M/D/YYYY... Go to the document properties, field numbers, and verify the format of your date fields. By default, the date is formatted according to thge settings in the beginning of the script - but the result depends on if you use date() function in the script, if you overriding the default format in this function, etc.