wood burning stoves
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

covert secs to mm:ss format

Lalit Vora
Ranch Hand

Joined: Jun 22, 2006
Posts: 37

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

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864

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

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: covert secs to mm:ss format
It's not a secret anymore!