Kamesh Jiya wrote:
Thanks Henry, any idea..how can I expect similar expected output. This value used as input to my SQL if minutes cahnges.. output also varies.
Well, you can use the time package mentioned by Tony. Or even a third party option. These are probably your easiest options.
If those options are not possible, you can either write code to parse it yourself -- which will likely be your hardest option. Or since it is just the fraction of sections portion, extract it from the
string, use SimpleDateFormat without it, and reinsert it back later. Of course, that assumes that the fraction is normalized.
Henry