add time to the view page