diff --git a/DataInterfaceConsoleTest/Program.cs b/DataInterfaceConsoleTest/Program.cs index 7408099..5258d77 100644 --- a/DataInterfaceConsoleTest/Program.cs +++ b/DataInterfaceConsoleTest/Program.cs @@ -41,7 +41,7 @@ private static void DoDataDump(DataInterface di) if (cnt != oldCnt) { if (cnt==0 && oldCnt>5){ - var filename = "5dpgn"+DateTime.Now.ToString("yyyyMMdd_hhmmss")+".txt"; + var filename = "5dpgn"+DateTime.Now.ToString("yyyyMMdd_HHmmss")+".txt"; File.WriteAllText(filename,"[Mode \"5D\"]"+lastRun); } lastRun="";