trigger date change event when select a time period