https://pt.stackoverflow.com/q/177896/101

CSharp · Console

/Program.cs

public class Program {
	public static void Main() => System.Console.WriteLine(System.DateTimeOffset.Now.ToString("o").Replace(':', '-').Replace('/', '-') + "_teste.txt");
}
;