show start and end date when open file