on 09-20-2006 1:10 PM
Friends,
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.
TYA,
Sachin.
Sachin,
Format must be dd.MM.yyyy (notice the case, "m" in lowercase is for minutes).
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.