My Code
String time1 = “16:00:00”;
String time2 = “19:00:00”;
SimpleDateFormat format = new SimpleDateFormat(“HH:mm:ss”);
Date date1 = format.parse(time1);
Date date2 = format.parse(time2);
long difference = date2.getTime() - date1.getTime();
Hi Guys,
Could you help me where to put my code on the calculation of man hours base on start and end time. Im confuse should i use service, component/datasource listenener in implementing this.