05-17-2012 10:08 AM
I have used SimpleDateFormat("h:mm a") which should show the time as ex: 11:12 AM/ PM, Its showing currectly in simulator but in real device its showing lik e 11:12 a/p where 'm' is missing. May I know the exact problem here.
Do I need to change anything in seetings of device or should I change the SimpleDateFormat.
Please let me know the reason.
05-17-2012 10:55 AM
Thanks for you help here
I am using labelField to display this. and I have tested in 9810,9850,9330 and 9900. In all these device, its showing the same as problem.
SimpleDateFormat dateFormat = new SimpleDateFormat("h:mm a");
String returnDate = dateFormat.format(new Date(System.currentTimeMillis()));
If return returnDate, I should get like 11:12 AM/PM
05-17-2012 11:35 AM
I believe there is a problem/bug here, a fellow poster had a similar problem and reported it. See here: