public static ulong ToSnowflake(DateTimeOffset value) => ((ulong)DateTimeUtils.ToUnixMilliseconds(value) - 1420070400000UL) << 22;
public static DateTimeOffset FromSnowflake(ulong value) => DateTimeUtils.FromUnixMilliseconds((long)((value >> 22) + 1420070400000UL));