Login Page - Create Account

Support Board


Date/Time: Sat, 15 Mar 2025 07:42:50 +0000



Post From: sc.BaseDateTimeIn[BarIndex].GetAsDouble() return time only without correct date

[2022-07-15 15:54:04]
User907968 - Posts: 838
That function does not return a unix timestamp, so no use to try and verify with it with a unix timestamp converter.
Look in the scdatetime.h file and you can see that there are other conversion functions.

Here is a link to a solution posted by another user for converting SCID files using python. Maybe you can see how the datetime variable is handled and apply similar logic in your solution?

Python for Sierra Chart