File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes covert secs to mm:ss format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "covert secs to mm:ss format" Watch "covert secs to mm:ss format" New topic
Author

covert secs to mm:ss format

Lalit Vora
Ranch Hand

Joined: Jun 22, 2006
Posts: 37
Hi,

can anyone guide me please how to convert secs in duration field in resultset to display as mm:ss

Example. I am getting duration as 180 i want to show in report as 03:00

Thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864

[ July 11, 2006: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: covert secs to mm:ss format
 
Similar Threads
Math Prob - Equation Rearrange
If you find the Segway too pedestrian.....
A Short Neurological Test
Weblogic Timeout Attributes
Oracle Timestamps and java.