Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java change time to hh:mm:ss format

long HH = seconds / 3600;
long MM = (seconds % 3600) / 60;
long SS = seconds % 60;
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #java #change #time #format
ADD COMMENT
Topic
Name
3+1 =