Fixed the date time conversion issue. Now having issue populating tables