Here you can find the source of msToSeconds(String strMilliseconds)
public static String msToSeconds(String strMilliseconds)
//package com.java2s; //License from project: Apache License public class Main { public static String msToSeconds(String strMilliseconds) { double rc = Double.parseDouble(strMilliseconds) / 1000; return String.valueOf(rc); }//from w ww . j ava 2 s.c o m }