3 ms·
Where you're using "day" to mean "reasonably long time in the context of browser session" then no, it won't matter. But if you're using time stamps as IDs in a
by ColinWright 12y ago
Where you're using "day" to mean "reasonably long time in the context of browser session" then no, it won't matter. But if you're using time stamps as IDs in a database, recognize that the same time can occur twice as the clocks get put back in the fall, recognize that the "seconds" field can sometimes be more than 60, and so on. If you get into the habit of taking these shortcuts then you are likely to get caught out if you move outside the specific domain, and you ill be cursed as you introduce subtle and hard-to-find bugs based on invalid assumptions.
Getting time-of-day issues right is hard.