using shortid.Configuration;
public static void Main()
var t = long.Parse(now.ToString("yyyyMMddHHmmssffff"));
var options = new GenerationOptions(useSpecialCharacters: false, length: 9);
var id = ShortId.Generate(options);
Console.WriteLine(t.ToString());
Console.WriteLine(t.ToString("x"));