Forex rebate kingForex rebate king

EA programming tutorials of the date and time function


that the Forex rebate king type data a set of functions (from January 1, 1970 at midnight in seconds) Day DayOfWeek DayOfYear Hour Minute Month  Seconds TimeCurrent TimeDay TimeDayOfWeek TimeDayOfYear TimeHour TimeLocal TimeMinute  TimeMonth TimeSeconds TimeYear Year  intDay() Forexrebateking the day of the month, the forexrebateindonesia time the cashback forex was accessed Note: In the test, the time format for the last set of server mode Example: if(Day( )<5)return(0);     intDayOfWeek() returns the cashbackinforex of weeks this week, (0-Sunday,1,2,3,4,5,6 and so on) from the last known time on the serverNote: In the test, the time format for the last set of server mode Example:    intDayOfWeek() returns the number of weeks this week, (0-Sunday,1,2,3,4,5,6 and so on) from the last known time on the serverNote: In the test, the time format for the last set of server mode Example:  nbsp;// Holidays do not work if(DayOfWeek()==0||DayOfWeek()==6)return(0);    intDayOfYear() returns the day of the year (1 represents January 1... The last time to access the server Note: In the test, the time format is the last known server mode Example: if(DayOfYear()==245)   return(true);     intHour() returns the number of hours (0,1,2,. .23) the last accessed server time (this value does not change during the period within the program execution) Note: In the test, the time format is the last set server mode Example: bolis_siesta=false; if(Hour()>=12||Hour()<17) & nbsp; is_siesta=true;   intMinute() a few moments before the start of the program, return the current minute (0,1,2,. .59) the last server time visited (this value does not change during program execution) Example: if(Minute()<=15)   return(firstquarter);   intMonth() at the beginning of the program moments before, return the current number of months (1,2,. .12) last visited the server time (during the execution of the program this value will not change) Note: In the test, the time format for the last set of server mode Example: if(Month()<=5)   return(thefirsthalfyear);    nbsp;intSeconds() a few moments before the start of the program, return the current number of seconds as the number last accessed server time (this value does not change during the execution of the program) Example: if(Seconds()<=15)    return(0);  datetimeTimeCurrent() returns the last accessed server time (the latest ticker input time) as a number of seconds from 00:00 January 1, 1970 Note: In the test, the time format is the last set server mode Example: if(TimeCurrent()- OrderOpenTime()<360)return(0);     intTimeDay(datetimedate) returns the date in the input date (1-31) parameter:date - as the number of seconds from 00: 001970 from January 1 example: intday=TimeDay(D2003.12.31); //days for 31    intTimeDayOfWeek(datetimedate) returns the first few days of the week from zero (0 for Sunday,1,2,3,4,5,6) for the specified date parameter:date - as the number of seconds from 00:00 January 1, 1970 example: intweekday=TimeDayOfWeek(D 2004.11.2); //number2-Tuesday      intTimeDayOfYear(datetimedate) returns the number of days in the year (1 means January 1... ,365(6) means December 31) for the specified date parameter:date - as the number of seconds from 00:001970 January 1 example: intday=TimeDayOfYear(TimeCurrent());  intTimeHour(datetimetime) returns the hour as the specified time parameter:time - as the number of seconds from 00:001970January 1  example: inth=TimeHour(TimeCurrent());      datetimeTimeLocal() returns the current computer time from 00:001970January 1Note: In the test, the time format is the last set server modeExample: if(TimeLocal()- OrderOpenTime()<360)return(0);     intTimeMinute(datetimetime) returns minutes for the specified time parameter:time - as the number of seconds from 00: 00January 1, 1970 Example: intm=TimeMinute(TimeCurrent());     intTimeMonth(datetimetime) returns the number of months as the specified time parameter:time  nbsp;- as the number of seconds from 00:00 January 1, 1970  Example: intm=TimeMonth(TimeCurrent());     intTimeSeconds( datetimetime) returns the number of seconds for the specified time parameter:time - as the number of seconds from 00:00 January 1, 1970 example: intm=TimeSeconds(TimeCurrent());   & nbsp; intTimeYear(datetimetime) returns the number of years for the specified time return value range can be between 1970 and 2037 parametric:time - as the number of seconds from 00:00 January 1, 1970 example: inty =TimeYear(TimeCurrent());     intYear() returns the year number of the current year, that is, the servers year time Note: In the test, the time format for the last set server mode Example: //If the time range is between January and April 2006 30 between, return   if(Year()==2006&&Month()<5)   return(0);
No reproduction without permission: Forex rebate king » EA programming tutorials of the date and time function

Related recommendations