12pm is logged in the database as 24 hours later
1 years ago.
If you have an event on the 10th from say 2pm to 12pm (i.e. 10 hours), the end date is logged in the database as 2025-06-11T00:00:00 which is infact the end of the 11th not the 10th which is what was set in the timesheet.
The correct value that should be logged is 2025-06-10T00:00:00
DayPilot