displaying date time, put old method to display data