Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 18:55:33 +0000



Post From: Getting the Seconds between 2 SCDateTime objects, which may or may not be > 24 hrs

[2024-05-21 15:38:46]
ycomp - Posts: 318
How can I get the # of seconds difference between 2 SCDateTime objects, even if it is more than 24 hours between them?

currently I'm using .GetAsDouble() to find the difference in double.. then I can make a SCDateTime from that double, but I can't figure out how convert that to seconds?

is there a way I can just convert the double directly to seconds?

for ease of reference:
Working with the SCDateTime Variables and Values
Date Time Of Last Edit: 2024-05-21 15:40:37