0 Replies Latest reply: May 15, 2009 12:45 AM by 843851 RSS

    HELP... TO PRINT THE CURRENT TIME ?

    843851
      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...