Clarification: I am not trying to calculate friendship times (for example, β8 seconds agoβ) using a timestamp and current time.
I need to create an event timeline in my data model, but where these events relate only to each other. For example, I have events A, B and C. They occur in order, so it may be that B occurs 20 seconds after A, and C - 20 years after B.
I do not need a unit of time. There is no time for my purpose, just relativity.
I intend to simulate this as a linked list , where each event is a node:
Event
- id
- name
- prev_event
- next_event
Is this the most efficient way to model relative events?
source share