int DayOfWeek( )
Returns the current zero-based day of the week (0-Sunday,1,2,3,4,5,6) of the last known server time.
Note: At the testing, the last known server time is modelled.
Sample:
// does not work on holidays.
if(DayOfWeek()==0 || DayOfWeek()==6) return(0);
Text aus der Dokumentation.
traderdoc
|