This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: covert secs to mm:ss format
 
Similar Threads
Math Prob - Equation Rearrange
Oracle Timestamps and java.
A Short Neurological Test
Weblogic Timeout Attributes
If you find the Segway too pedestrian.....