click on button and show time and date