Download MetaTrader 5

How to initialize extern datetime with current time? - page 2

To add comments, please log in or register
whroeder1
15577
whroeder1  
Why not? User can enter any datetime and it works fine. If you want a calendar pop up, you're going to have to have a GUI coded.
Wemerson Guimaraes
593
Wemerson Guimaraes  
WHRoeder:
Why not? User can enter any datetime and it works fine. If you want a calendar pop up, you're going to have to have a GUI coded.
The reason is because i need to make things easy for users... just that!
cooper47
7
cooper47  

Use this code


extern datetime t = D'';
Alain Verleyen
Moderator
32411
Alain Verleyen  
cooper47:

Use this code


Nope. This will initialized the parameter with compilation date, not current time.
12
To add comments, please log in or register