Login Page - Create Account

Support Board


Date/Time: Sun, 08 Sep 2024 00:35:34 +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: 295
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