---
# System prepended metadata

title: Untitled

---

## Capabilities
- Time synchonization on clint side via server communication
- Ability to get current time in different timezone
- Ability to get client time zone 


## Open questions
- How time is used on client side?
- Do we need to handle\operate with ms?
- Does netwrok lag can affect any business process?

## Assumptions
- User see the time on the screen in such format HH:mm:ss - does it need to know ms ?
- We can rely on users machine from timezone perspective
- During handshake client can measure network latency to calculate more accurate time

## Solutions
1) Send current time ms by interval
2) Handshake long -> Send delta (int) by interval, cover miliseconds
3) Handshake long -> Send delta (byte) by interval, cover seconds only
4) During initial handshake calculate delta between current and server time. Then each time whenever we need time on client, take current time and add\subtract delta
5) Sync client time by calculating delta -> send pulse as 1 byte to notify client next N second\ms passed