What is the past tense and perfect tense?

He has told me that there will be no problem.
He told me that there will be no problem.

What is the difference between "has told" and "told"?