Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lopatin
· 9y ago · 0 comments
Don't over complicate it. Given two number ranges, of UTC timestamps, determine if they overlap. I think you know where to start with that.
Comments
[–]
throwaway29292
9y ago
I'd probably go for 4 if() checks, some 'less than'/'greater than'/'&&' checks should do it.