How can I change the start time of a day to 04:00:00 AM and end on the next day at 03:59:59 AM.
I am getting the records from a query that includes all records from a week. I want to group all records on a single day. For example records from: Friday 2-2-2023 04:00:00 AM till Saturday 2-3-2023 03:59:59 AM would be grouped on Friday 2-2-2023.
My field name is Date_Time and it is in the general date format (01-01-2023 12:25:05 PM).
The report is opened from a command button on a form. Is there a VBA code I would use before opening the report or on the report itself "On Load"?
Thanks in advance for your time. I have spent a couple of hours searching this without any solutions.
I am getting the records from a query that includes all records from a week. I want to group all records on a single day. For example records from: Friday 2-2-2023 04:00:00 AM till Saturday 2-3-2023 03:59:59 AM would be grouped on Friday 2-2-2023.
My field name is Date_Time and it is in the general date format (01-01-2023 12:25:05 PM).
The report is opened from a command button on a form. Is there a VBA code I would use before opening the report or on the report itself "On Load"?
Thanks in advance for your time. I have spent a couple of hours searching this without any solutions.