cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with TIMS datatype

Former Member
0 Kudos

In Bapi i have a parameter i.e.,Login of type TIMS and the value is 11:30:00. When i bind this login field to my table in webdynpro java application, the output appears like 11:30:00 AM but i want 11:30:00.

Regards,

Ravi S

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

try converting your data type to gregorian

Timestamp timestamp = new Timestamp(23423434);

Calendar calendar = GregorianCalendar.getInstance();

calendar.setTimeInMillis(timestamp.getTime());

Regards

Senon