I am using a simple BAPI RFC model to access data from an SAP system. The BAPI returns me a date field (for example delivery date) as a java.sql.Date object. The value at the SAP side is 05.03.1975.
Was not too sure whether this date was in British format (dd.mm.yyyy). So I wrote a method to convert this date into the format I wanted.
But after formating, surprizingly the month (03) becomes 00. The date which gets displayed on the UI is 05.00.1975. Have any of you faced a similar problem, if yes what was the work around.