made functions to show times and date for swell chart, as well as for the slider when changing frame