File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pass to time

 
Isaac Ferguson
Ranch Hand
Posts: 831
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi


I need pass something like this 78291.0 to hh;mm:ss

Any idea?

Thanks
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the number 78291.0 represent? Is it a number of seconds?

You know that an hour contains 60 minutes and a minute contains 60 seconds (and ofcourse an hour contains 60 * 60 = 3600 seconds). So, how would you convert 78291 seconds to hours, minutes and seconds? First think about the logic before trying to write a program to do this.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic