hardDesignConceptMidSeniorStaff
If payments settle around the clock, what does end of day mean and which day does a transaction belong to?
6 min readUpdated 2026-08-15
Answer
Short answer
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.
Was this answer helpful?
Likely follow-ups
- A scheme moves its cut-off by an hour. What in your system has to change, and what would silently misdate a day if it did not?
- How do you produce a group consolidated position when three entities are in three time zones with three calendars?
- Which is authoritative for a statement a customer already received: the closed snapshot or the current query?
- Where does a back-valued credit change an interest calculation, and how is that adjustment posted?
Related questions
- A customer's app shows one balance and the ATM shows another. How should available balance be defined?mediumAlso on value-date4 min
- What is the KV cache, and why does it decide how many users one GPU can serve?hardSame kind of round: concept4 min
- Your team wants to expose internal systems to an agent through MCP servers. What does the Model Context Protocol standardise, and what does it leave you to secure?hardSame kind of round: concept5 min
- Your lazy-loading proxy works until someone calls equals or getClass on it. What breaks, and how do you design a proxy that survives it?hardSame kind of round: design5 min