return time to view