Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 14:04:27 +0000



DateTimeString to SCDateTime

View Count: 916

[2019-06-11 10:41:17]
PK - Posts: 12
Hi,

I cannot find the function of converting DateTimeString into SCDateTime, could you please point it out where is it in your documentation?


Thanks.
[2019-06-11 17:03:04]
Sierra Chart Engineering - Posts: 104368
There are two separate functions. Refer to:

sc.DateStringToSCDateTime()

sc.TimeStringToSCDateTime()
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
[2019-06-12 00:44:00]
PK - Posts: 12
Hi,

I know them, but I look for a combination of DateTime String conversion, not separate into two functions, or how can we combine date and time into a datetime variable?


Regards.
[2019-06-12 03:14:43]
Sierra Chart Engineering - Posts: 104368
You can just simply set the date and time individually into a new SCDateTime variable. Refer to:
Working with the SCDateTime Variables and Values: SetDateTime()
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

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account