siva.sainadham: I couldn't found any function which returns the 'Current Date' and one more issue which i faced like how to hard code a date(Format of the Date).
- You didn't try very hard. Use this and you would have found: TimeCurrent() and Time[0]
- Datetime constants - MQL4 Documentation
WHRoeder:
And system date is TimeLocal.
- You didn't try very hard. Use this and you would have found: TimeCurrent() and Time[0]
- Datetime constants - MQL4 Documentation
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi Experts,
I am very much new to use MetaEditor. I have a simple requirement like I need to delete a file whenever the current date(i.e., System Date) = Specified Date(May be hard coded to some date).
Can you please help me out how can I achieve this. I couldn't found any function which returns the 'Current Date' and one more issue which i faced like how to hard code a date(Format of the Date).
Since I am new to this, I am unable to debug the Code as well.
If any one have any idea please share with me to resolve it.
Thanks in Advance,
Siva