Code used for the BlackBuda test
You can add different timestamps in the timestamps const to get timeranges data (period between timestamp and one hour before) and compare them.
Execute: node buda.js
With:
const timestamps = [
new Date("2023-03-01T13:00:00").getTime(),
new Date("2024-03-01T13:00:00").getTime()
]
The output will look like: