Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 18:12:43 +0000



Post From: best way to convert SCDateTime to db and back

[2021-10-12 03:29:03]
Sierra_Chart Engineering - Posts: 14244
There is a mistake in your code.

This does not return a string pointer:
sc.DateTimeToString(endDateTime, FLAG_DT_COMPLETE_DATETIME_MS)

Refer to:
ACSIL Programming Concepts: Working with SCString, Text Strings and Setting ACSIL Structure Member Name Strings
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, use the Teton service:
Sierra Chart Teton Futures Order Routing