public static string Random(this DateTime time, int length = -1, string pre = "R") { var dest = DateTime.Now.FormatTime(false) + UUID.NewUUID(); return((pre + (length == -1? dest: dest.Substring(0, length))).ToLower()); }
public static string Random(this DateTime time, int length = -1, string pre = "R") { var dest = UUID.NewUUID(); return(pre + (length == -1? dest: dest.Substring(0, length))); }