Time / CurrentTime -
Posted: Dec 16 2011
Hello,
I want to get the current time of the bar, while my chart time is not my computer time.
CurrentTime is giving me the time of my computer
Time is giving me the time when the bar will close
That means that if I have a 15 mins chart, and now the time in my chart is 12:13, I want to be able to get this time.
'Time' will give me in this case 1215 and not 1213
'CurrentTime' will give me 19:13 and I can't do anything with that.
Any solution?
Thanks
I want to get the current time of the bar, while my chart time is not my computer time.
CurrentTime is giving me the time of my computer
Time is giving me the time when the bar will close
That means that if I have a 15 mins chart, and now the time in my chart is 12:13, I want to be able to get this time.
'Time' will give me in this case 1215 and not 1213
'CurrentTime' will give me 19:13 and I can't do anything with that.
Any solution?
Thanks