If payments settle around the clock, what does end of day mean and which day does a transaction belong to?
Keep the event timestamp, the accounting date and the value date as three separate attributes, assign the accounting date at posting from a stated rule over rail and calendar, and close a period by locking it and snapshotting what it contained rather than by pausing the flow.