Hi Norm,
Let me respond to your last 3 messages in a bit more detail.
I have not only brought it to the concerned manager's attention, I have also made our boss (we both report to the same boss) aware of it. My rationale behind fixing this issue now is so that we do not have to go through the same issues next term when I have to submit these reports again.
Thank you again for creating unique time formats based on the data I shared, writing the function, and explaining it to me how it is going to work. I will make appropriate changes to both the data set and the function and run them in our test environment to see the results.
Even though I do not have experience writing these functions/programs, I have worked with data sets that are very similar to this data in my previous jobs but without all the issues. As such, I am assuming that the constraints, triggers, business rules, and data integrity you mentioned were maintained by the team that managed the program in my previous jobs but not being maintained in my current job.
I have come across other places in our student database with data issues. Maybe this is a good start. If I can successfully fix this issue, maybe our boss would want me to fix other data issues.
As stated in my previous message, once I have fixed all issues and resolved my time difference logic, I will update you.
Ciao!