How to convert time in string format into minutes( it can be 12:45 hours or 458:00 hours)

13 views
Skip to first unread message

HUSSAIN

unread,
Feb 24, 2011, 9:02:51 AM2/24/11
to Indian Groovy & Grails User Group
Hi all, I am trying to convert time in String format into minutes. if
its 12:45hours i can easily do it using substring. but there is a
chance of getting hours for many days like 458:00 hours . please help
me

Thanks in advance

Hussain

Yagnesh Chawda

unread,
Mar 16, 2011, 4:04:54 PM3/16/11
to Indian Groovy & Grails User Group
Hey,
Not sure what u want as string result. Can you provide expected
outputs with above two examples so that we can have better idea.

Thanks And Regards,
Yagnesh Chawda.
: http://yagneshchawda.blogspot.com/
: http://twitter.com/yagneshchawda
Reply all
Reply to author
Forward
0 new messages