Hello All,
My following code is not working when I select language German. Session is returning languageID 0. It the language is English then it works fine.
if MySessionSettings.LanguageId = 1031 then begin
CurrentDate := CalcDate('-LM', CurrentDate);
end else
CurrentDate := CalcDate('-CM', CurrentDate);