Integer constants can assume values from -2147483648 to 2147483647.
int day = TimeDayOfWeek(1200000000);
switch (day){
case 0: Print("Sunday"); break;
case 1: Print("Monday"); break;
...
}
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
Why dosent this work OfWeek(TimeToStr(1200000000,TIME_DATE))? invalid integer number as parameter 1 for TimeToNumber function
I want to work out what day of the week a time falls on
Thanks Steve