Support Board
Date/Time: Thu, 06 Feb 2025 16:46:22 +0000
DAY_OF_WEEK : Does the function no longer exist?
View Count: 545
[2020-05-05 08:14:47] |
User210074 - Posts: 63 |
Error creating dll with "build with visual c ++ release or debug I'm testing the DAY_OF_WEEK function. //... int64_t I64Day = sc.BaseDateTime[sc.Index]; //... I have an error message F:\SierraChart\ASC_Source\Test.cpp(21): error C2039 : 'BaseDateTime' : is not member of' s_sc' f\sierrachart\acs_source\sierrachart.h(27) : note : see declaration of 's_sc' Does the function no longer exist? version of SIERRACHART 2090 https://www.sierrachart.com/index.php?page=doc/SCDateTime.html#DAY_OF_WEEK |
[2020-05-05 11:56:19] |
Sierra Chart Engineering - Posts: 104368 |
You need to use this function: Working with the SCDateTime Variables and Values: GetDayOfWeek() int64_t I64Day = sc.BaseDateTimeIn[sc.Index].GetDayOfWeek();
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2020-05-05 11:57:03
|
To post a message in this thread, you need to log in with your Sierra Chart account: