function display time added