Adding timestamp method to adapter class