I\'m pulling a timestamp from a Firestore database, and I only want to display the date to the user. The original timestamp is
Timestamp(seconds=1555477200,
You can use Date.toLocaleString() like this:
new Date(date).toLocaleString('en-EN', { year: 'numeric', month: 'long', day: 'numeric' });
const timestamp = 1555477200000; console.log( new Date(timestamp).toLocaleString('en-EN', { year: 'numeric', month: 'long', day: 'numeric' }) );