There is a function for Turkey Bank.I have changed Url with Georgia Bank.How can I set date part in the URL.
Function GetValidResult(Val CurrDate)
// "https://www.tcmb.gov.tr/kurlar/" + str1 + "/" + str2 + ".xml"
While True Do
str1 = Format(CurrDate ,"DF=yyyyMM");
str2 = Format(CurrDate ,"DF=ddMMyyyy");
StrFullAddres = "https://www.nbg.gov.ge/rss.php";
XMLFile = GetFilesFromInternet.DownloadFileToTempStorage(StrFullAddres);
If XMLFile.Status Then
BinaryData = GetFromTempStorage(XMLFile.Path);
XML = GetStringFromBinaryData(BinaryData);
mXml = New XMLReader;
mXml.SetString(XML);
Result = XDTOFactory.ReadXML(mXml);
mXml.Close();
DeleteFromTempStorage(XMLFile.Path);
Return Result;
EndIf;
CurrDate = AddDay(CurrDate, -1);
EndDo;
EndFunction