Retrieve time portion of date

Posted by Mercer on Stack Overflow See other posts from Stack Overflow or by Mercer
Published on 2010-05-19T08:15:47Z Indexed on 2010/05/19 8:50 UTC
Read the original article Hit count: 135

Filed under:
|
|

How can I retrieve the time portion of a date?

Date date = new Date();
SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");

© Stack Overflow or respective owner

Related posts about java

Related posts about time