When I save a template, dates parameters are saved not under classical yy.mm.dd but under a number. I did a search on Internet and can't find how to convert from date string format to this date number format. Can someone tell me how or points to an article, thanks and Happy Year!
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- How to Extract from a String
if u mean this no. create_time=1289312373
Datetime constant can vary from Jan 1, 1970 to Dec 31, 2037
Its internal representation is a long integer number of 4 bytes. The value represents the amount of seconds elapse from 00:00 Jan 1, 1970.
forexgenuine:
I did a search on Internet and can't find how to convert from date string format to this date number format. Can someone tell me how or points to an article
I did a search on Internet and can't find how to convert from date string format to this date number format. Can someone tell me how or points to an article
in mql4 TimeToStr()
just convert the number http://tinyurl.com/24yv4b2
Thanks very much that's what I needed (https://docs.mql4.com/convert/StrToTime)
qjol:
if u mean this no. create_time=1289312373
Datetime constant can vary from Jan 1, 1970 to Dec 31, 2037
Its internal representation is a long integer number of 4 bytes. The value represents the amount of seconds elapse from 00:00 Jan 1, 1970.
Thank you !
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