13. September 2012 11:46
TestDateTime := CURRENTDATETIME;
TestDuration := 12345;
MESSAGE(FORMAT(TestDateTime));
MESSAGE(FORMAT(TestDuration));
//MESSAGE(FORMAT(TestDateTime + TestDuration));
13. September 2012 12:01
13. September 2012 12:23
TestDateTime := CURRENTDATETIME;
TestDuration := 60000;
MESSAGE(FORMAT(TestDateTime));
MESSAGE(FORMAT(TestDuration));
MESSAGE(FORMAT(ROUNDDATETIME(TestDateTime + TestDuration)));
// MESSAGE(FORMAT(TestDateTime + TestDuration));
NavDialog.ALMessage(new Guid(50003, 0, 39167, 3, 5, 0, 0, 131, 107, 210, 210), NavFormatEvaluateHelper.Format(ALCompiler.ToNavValue(testDateTime+testDuration)));
// MESSAGE(FORMAT(ROUNDDATETIME(TestDateTime + TestDuration)));
NavDialog.ALMessage(new Guid(50003, 0, 39167, 3, 5, 0, 0, 131, 107, 210, 210), NavFormatEvaluateHelper.Format(ALSystemDate.ALRoundDateTime(testDateTime+testDuration)));
13. September 2012 13:17