This discussion is archived
0 Replies Latest reply: May 14, 2009 10:45 PM by 843851 RSS

HELP... TO PRINT THE CURRENT TIME ?

843851 Newbie
Currently Being Moderated
Hello All,
What should i do to get the current time in my app. in j2me?
I was using :
 Calendar myCalender = Calendar.getInstance (TimeZone.getDefault());//getTimeZone ("UTC"));
    Date d = new Date (myCalender.getTime().getTime() + (5*60*60*1000));
but this gives the date too along with the time...
i just need the time part alone.
expecting help...