Support Board
Date/Time: Sun, 11 May 2025 01:36:53 +0000
Confusion around ACSIL Function sc.ConvertDateTimeToChartTimeZone()
View Count: 203
[2024-09-04 17:11:02] |
User900285 - Posts: 98 |
Hello, I did have some initial confusion around the sc.ConvertDateTimeToChartTimeZone() function in comparison to sc.ConvertDateTimeFromChartTimeZone() which required me to debug it. It is because I was using them in sequence. What I propose is in the documentation to clearly specify that the second argument is either the Originating or the Destination Timezone. For sc.ConvertDateTimeToChartTimeZone() the second argument is the Originating timezone in the SCDateTime object that you want to convert to the chart timezone. This is clear now for me. I am just pointing it out in case other developers run into a similar problem. Here is the documentation link: ACSIL Interface Members - Functions: sc.ConvertDateTimeToChartTimeZone() Date Time Of Last Edit: 2024-09-04 17:12:45
|
To post a message in this thread, you need to log in with your Sierra Chart account: