adding date picker in ui for newest and oldest