sonyflake icon indicating copy to clipboard operation
sonyflake copied to clipboard

What should be the StartTime for sonyflake initialization to ensure that the parsed ID corresponds to the UTC creation time?

Open moksh-samespace opened this issue 1 year ago • 1 comments

moksh-samespace avatar Jan 03 '24 19:01 moksh-samespace

Any StartTime is OK. You can get the UTC time for a Sonyflake ID: st.StartTime.Add(ElapsedTime(id)).UTC()

YoshiyukiMineo avatar Apr 30 '24 06:04 YoshiyukiMineo