Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 14:48:40 +0000



Post From: ACSIL: Comparing difference of 2 SCDateTime variables to a time value?

[2021-12-09 16:36:37]
ycomp - Posts: 321
what I mean is something like this:

left side variables are SCDateTime and right side variable is SCInputRef containing a Time value

(sc.LatestDateTimeForLastBar - LastModified).GetTime() <= Input_Duration.GetTime()

will it work if the 2 dates are not the same day (e.g. today and yesterday) ?
Date Time Of Last Edit: 2021-12-09 16:36:57