fixing timestamp being only sensitive to date.