Found it:
TimeToStr
Converts value containing time in seconds that has passed since January 1, 1970, into a string of "yyyy.mm.dd hh:mi" format.
string TimeToStr( |
Edit: By the time this post of mine was made, you had apparently already posted your self reply. Glad you were able to find the solution for your problem.
Thanx. So what I really need is TimeToString with TIME_SECONDS and the others or'd in.

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
How do I get at the datetime string? In the sense that the following code will then work:
I'm in the processing of migrating legacy mql4 to updated mql4.