Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 15:55:07 +0000



Post From: SECONDS constant no longer defined

[2020-12-01 16:26:43]
WarriorTrader - Posts: 245
Hello,

The SECONDS constant is no longer defined in SC v2204. Is there a quick way to add seconds to the time? I guess just adding (1) to TimeValue will have the same effect since time is stored in number of seconds after midnight?

  int TimeValue2 = sc.StartTime1;
  int TimeValue = TimeValue2 += 1 * SECONDS; // no longer working




Revised for current verison:

  int TimeValue2 = sc.StartTime1;
  int TimeValue = TimeValue2 += 1; //SECONDS removed



Thanks,
--WT