I solved it on my own by using report code. Here are the functions (VB.NET):Public Shared Function FormatDateTime(ByVal Value as Date) As String FormatDateTime = Format(Value, "dd.MM.yyyy HH:mm")End FunctionPublic Shared Function GetFromDate() As String Dim d as Date d = DateSerial(Year(Now), Month(Now), 1) d = DateAdd(DateInterval.Month, -1, d) GetFromDate = Format(d, "yyyy-MM-dd")End FunctionPublic Shared Function GetToDate() As String Dim d as Date d = DateSerial(Year(Now), Month(Now), 1) GetToDate = Format(d, "yyyy-MM-dd")End Function