on 01-10-2012 6:20 AM
Hi All,
i am facing the problem,while getting list of dates from BAPI to Web dynpro JAVA.In BAPI date formate is SQL formate(dd.mm.yyyy).
Please help me regarding this..
What exactly is your question?
In case you need to change the date format, you could use the standard java dateformatters
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
answerd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Now i got time form back end.But the problem is in back end time format is in 24hrs(00:0:00),while running the application times are appearing like 12hrs format(12:00:00 AM)actually i want to display multiple times,those are coming properly but they are in 12hrs format.
To rectify that problem i tried in the following way
for (int i = 0; i < wdContext.nodeItab().size(); i++) {
//Time login = wdContext.currentItabElement().getLogin();
Time login = wdContext.nodeItab().getItabElementAt(i).modelObject().getLogin();
formatter1 = new SimpleDateFormat("hh:mm:ss a");
logintime = formatter1.format(login);
//Time loginreal = (Time)formatter1.parseobject(logintime);//while giving parse it showing error
manager.reportSuccess( "Login111111111111 ::: "+ logintime);
}
logintime is in string format,so how can i convaert string to time,i used Time loginreal = (Time)formatter1.parse(logintime);,it is returning null
How can rectify my problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.