The For Loop
is not looping in my codes through all my data. I've read through it thoroughly and still couldn't find any error.
Hope its not some stupid mistake.
Here's a snippet of my for loop
codes:
String convertedDuration= "";
String timeConverted = convertedDuration;
for (int i = 0; i < submissionTime.length; i ++)
{
String strDate = submissionTime[i];
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
Date getDate = sdf.parse(strDate);
getDate.getTime();
convertedDuration = timeConverted + (getDate.getTime());
}
System.out.println("convertedDuration : "+ convertedDuration);
thanks for any help in advance :)