Java parsing timestamp to time with HH:mm only

前端 未结 0 897

How to parse this timestamp variable to Hour & Minute only here\'s the code

userMessage.setPostedDate(new Timestamp(System.currentTimeMillis()));
                     


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题