Date Formatter

Current Date and Time: Thu Apr 16 2026 21:50:38 GMT+0000 (Coordinated Universal Time)

Formatted Date (MM/DD/YYYY): 16/04/2026

Formatted Date (Day, Month, Year): 16 April 2026

function formatDateMMDDYYYY(date: Date) {
    const formattedDate = date.toLocaleDateString('en-GB')
    return `Formatted Date (MM/DD/YYYY): ${formattedDate}`
  }

  function formatDateLong(date: Date) {
    const options: Intl.DateTimeFormatOptions = {
      year: 'numeric',
      month: 'long',
      day: 'numeric',
    }

    const formattedDate = date.toLocaleDateString('en-GB', options)

    return `Formatted Date (Month Day, Year): ${formattedDate}`