//+------------------------------------------------------------------+
//| Month.mq4 |
//| Yuriy Tokman |
//| yuriytokman@gmail.com |
//+------------------------------------------------------------------+
#property copyright "Yuriy Tokman"
#property link "yuriytokman@gmail.com"
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{
//----
Alert(GetMonth());
//----
return(0);
}
//+------------------------------------------------------------------+
string GetMonth() {
int month = Month();
switch (month ) {
case 1 : return("ßíâàðü");
case 2 : return("Ôåâðàëü");
case 3 : return("Ìàðò");
case 4 : return("Àïðåëü");
case 5 : return("Ìàé");
case 6 : return("Èþíü");
case 7 : return("Èþëü");
case 8 : return("Àâãóñò");
case 9 : return("Ñåíòÿáðü");
case 10 : return("Îêòÿáðü");
case 11 : return("Íîÿáðü");
case 12 : return("Äåêàáðü");
default : return("Unknown Operation");
}
}
Comments