How to convert seconds of Timer to hh:mm:ss ? in Java

前端 未结 0 1361
清歌不尽
清歌不尽 2020-12-04 03:35

I want to convert value of seconds to hh:mm:ss format.But use whileloop to calculate hours and for loop to calculate minutes.

Example:10000 seconds equals to 2 hours,

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