Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 19:01:21 +0000



How to get Current Time

View Count: 3251

[2013-05-13 18:12:50]
User76625 - Posts: 49
Is there a way to get the current time (in hours, minutes, seconds) using ASCIL? Using the sc.BaseDateTimeIn[] array I can only figure out how to get the current bar time. I'm looking for something akin to using the NOW() function for spreadsheets, but for ASCIL.
[2013-05-13 18:19:16]
ganz - Posts: 1048
User76625

hi

Clock code?

gd lck
[2013-05-13 19:19:53]
Sierra Chart - Max - Posts: 5729
You will need to use the sc.CurrentSystemDateTime member:
http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members.html#scCurrentDateTime
Sierra Chart Support
Date Time Of Last Edit: 2013-05-13 19:49:01

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

Login

Login Page - Create Account