Support Board
Date/Time: Tue, 04 Mar 2025 14:54:15 +0000
Post From: ACSIL: Comparing difference of 2 SCDateTime variables to a time value?
[2021-12-03 12:55:39] |
ycomp - Posts: 321 |
How do I compare the time difference of 2 SCDateTime variables to a Time Value (e.g. sc.Input[0].GetTime() ) ? SCDateTime date1; SCDateTime dateTimeDiff = sc.LatestDateTimeForLastBar - date1; dateTimeDiff.HowToGetTotalSecondsAsATimeValue()? <= sc.Input[0].GetTime() Date Time Of Last Edit: 2021-12-03 18:52:37
|