You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clock goes back (DST change) there's a real possibility of generating duplicate ID's. Suggestion: use a strictly increasing (monotonic) time source (this one for example).
Full disclosure: I'm the developer of IdGen which is a similar project.
The text was updated successfully, but these errors were encountered:
No, but any corrections made by NTP for example (which Windows does by default) will affect the time (possibly several times a day) and then there's leap seconds and all kinds of other horrible messy things people "invent" to keep track of "time". Wallclock time, which DateTime.UtcNow (and DateTime.Now) is, is not usable for this kind of applications.
When clock goes back (DST change) there's a real possibility of generating duplicate ID's. Suggestion: use a
strictly increasing (monotonic) time source
(this one for example).Full disclosure: I'm the developer of IdGen which is a similar project.
The text was updated successfully, but these errors were encountered: