Convert integer to datetime java <p>I have an integer value with following.How can I convert integer to Datetime?</p> <p>int input DateTime=1 6 25;</p> <p>convert input to output</p> <p>int output DateTime=1:06:25;</p>