We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Check this one: If you are struggling to resolve this challenge, try to format the timestamp using the following format: 00/00/0000.
I used toLocaleDateString method to format the timestamp:
Patient Medical Records
You are viewing a single comment's thread. Return to all comments →
Check this one: If you are struggling to resolve this challenge, try to format the timestamp using the following format: 00/00/0000. I used toLocaleDateString method to format the timestamp:
const timestamp = 1568317109556; const formattedDate = new Date(timestamp).toLocaleDateString('en-US', { month: '2-digit', day: '2-digit', year: 'numeric' }); `