开发者

convert jms time stamp to current date and time

I need to know when the message has been received thus i'm printing开发者_运维技巧 the jms timestamp i.e msg.getJMSTimestamp() but this returns some number in milliseconds like 1300339215983. I dont undersatnd what value it is. How do i convert it to current standard date and time.

Thanks.


java.util.Date = new java.util.Date(msg.getJMSTimestamp());
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜