Login Page - Create Account

Support Board


Date/Time: Mon, 15 Sep 2025 16:47:55 +0000



Post From: SECONDS constant no longer defined

[2020-12-01 16:26:43]
WarriorTrader - Posts: 247
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