adding time and date to bar