Login Page - Create Account

Support Board


Date/Time: Thu, 09 May 2024 17:03:57 +0000



Post From: Compilation error with GetTimeWithoutMilliseconds

[2020-06-24 13:46:45]
JM-JO - Posts: 38
I have updated SC to the latest version (2125) from a 3-month-old version.

I decided to recompile an old source file (the DLL was working without recompiling though) and I get a strange compilation error from Sierra compiler :

error: 'class SCDateTime' has no member named 'GetTimeWithoutMilliseconds'

The problem happens with following code:

int timevalue = sc.BaseDataEndDateTime[sc.Index].GetTimeWithoutMilliseconds() ;


Can you suggest a solution ?