Hacker News new | ask | show | jobs
by dudeinjapan 1590 days ago
This is the correct answer.

If you want to ask "Does a given date contain a time?", you find the start and end of that date in the relevant timezone and check if the time value falls in that range.