A datetime is the number of seconds since 1st Jan 1970 . . . to add to a datetime you just add the number of seconds you want, so to add an hour add PERIOD_H1 * 60 * 60
Info in the documentation: datetime functions, datetime constants
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
Hello guys i need to manupilate time based on calculations can i do that like for eg i have today open stick time
now how can i add hours or minutes to the time/variable "dailyopentime"