Fixes error so that current date and time will be used when field is left blank.