// to get as date
const date = new TimeStamp(yourTimeStamp.seconds , yourTimeStamp.nanoseconds).toDate();
// to get as string
const date = new TimeStamp(yourTimeStamp.seconds , yourTimeStamp.nanoseconds).toDate().toDateString();
const created = firebase.firestore.Timestamp.fromDate(new Date()).toDate();
SimpleDateFormat sfd = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
sfd.format(new Date(timestamp));
If you are looking to get a Date instance from Timestamp
If you need to get just the Date object from Timestamp, the Timestamp instance comes with a toDate() method that returns a Date instance.
For clarity:
Date javaDate = firebaseTimestampObject.toDate()