I think this not an error in the function. because you are adding seconds to these values which will not change them.
The returned string format is "yyyy.mm.dd hh:mi".
Try:
Print(TimeToStr(1146143265+120));
Which means adding 2 minutes to 2006.04.27 13:07
The returned string format is "yyyy.mm.dd hh:mi".
Try:
Print(TimeToStr(1146143265+120));
Which means adding 2 minutes to 2006.04.27 13:07
Very good point!
I stand corrected!
My error by using Period() and not multiplying it by 60.
You have saved my day!
Thanks!
I think this not an error in the function. because you are adding seconds to these values which will not change them.
The returned string format is "yyyy.mm.dd hh:mi".
Try:
Print(TimeToStr(1146143265+120));
Which means adding 2 minutes to 2006.04.27 13:07
The returned string format is "yyyy.mm.dd hh:mi".
Try:
Print(TimeToStr(1146143265+120));
Which means adding 2 minutes to 2006.04.27 13:07
Very good point!
I stand corrected!
My error by using Period() and not multiplying it by 60.
You have saved my day!
Thanks!
:D You're welcome!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
They all return date of 2006.04.27 13:07
Build 191 08, March 2006