Support Board
Date/Time: Fri, 29 Nov 2024 04:55:56 +0000
[Programming Help] - TimeZonesEnum::TIMEZONE_CUSTOM doesn't seem work
View Count: 294
[2023-03-13 17:58:09] |
Tony - Posts: 525 |
Hi, I set Custom Time Zone as UTC+2 with Daylight Saving settings, When I try to use function: sc.ConvertDateTimeFromChartTimeZone(sc.CurrentSystemDateTime, TIMEZONE_CUSTOM); I get UTC time instead of Custom Time Zone I set, I tried both "Use Global Time Zone" and use chart its own time zone, both have the same result. Not sure what I did wrong... Other TimeZonesEnum values work fine. Thanks so much! My second question, for sc.ConvertDateTimeFromChartTimeZone() function, if I use TIME_ZONE_POSIX_STRINGS, Is it safe to create my own time zone by mimicking the format in scconstants.h file? i.e. : "MTZ+02MDT+01,M3.5.0/02:00,M10.5.0/02:00" Date Time Of Last Edit: 2023-03-13 20:50:40
|
To post a message in this thread, you need to log in with your Sierra Chart account: