Current system time
Author: aokorokov
Creation Date: 10/27/2019 10:36 PM
profile picture

aokorokov

#1
Hello,
there is two questions:

1. How to pull up information about date and time of bar in Data Series?
2. How to get current system time and date in wealth lab, which would be good with library of wealth lab?
profile picture

Eugene

#2
1. What do you mean by "pool up"? You can loop bar by bar to get it:
CODE:
Please log in to see this code.

2. To get the current time use standard .NET property DateTime.Now.
profile picture

aokorokov

#3
Thank you mr. Eugene, Has pool up and pull up different pronunciation?
my bad about that, I did correction at starting post.
profile picture

Eugene

#4
Got it. To follow up, now that you've queried the current bar's DateTime and saved it as "dt" you can get all sorts of information .NET provides such as month, day of week etc.: Working With DateTime Using C#
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).