Is the word "day" used in the same way in the following two sentences?

In the day of the dinosaurs.

He was a successful pianist in his day.
the same meaning