Time problem

 

Hi,


This is a very simple and "interesting" problem.

Here is my code:

Print(TimeToStr(iTime("EURUSD",PERIOD_H4,0),TIME_DATE|TIME_MINUTES));


The result is: 2009.03.05 16:00

What?! Today is 09.05.26!


How can I resolve this?

Thanks

 
ggekko:

Hi,


This is a very simple and "interesting" problem.

Here is my code:


The result is: 2009.03.05 16:00

What?! Today is 09.05.26!


How can I resolve this?

Thanks


I like all your indicators which are developed with good interface and easy to use.


I am a retired person and need some help in coding. I am not coding but my coder don't know how to resolve this. I shall be thankful if you can reply me.


1. Is it possible to change the definition of time value to something which is related to the indicator?


If yes, please show the way.


2. If not, can I disable time value not to output on screen so that wrong information is not displayed?


Kindly guide me.


Thank you .


Reason: