Made Task timing more accurate

Changed System.currentTimeMills(); which returns current time in the
current second to the date.getTime() function