Login Page - Create Account

Support Board


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



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

[2022-07-15 00:40:17]
User189399 - Posts: 46
I use "const double StartT = sc.BaseDateTimeIn[BarIndex].GetAsDouble()" to get the timestamp of a bar in my Renko chart. It return 44744.166956 which equal to 1970-01-01 20:25:44.168600. The date is incorrect. Please advise how to fix it.