title: Convert any date format to en-US(mm/dd/yyyy hh:mm:ss) Using JavaScript
body: <p>If I get any date format en-GB or European date format (mm.dd.yyyy) need to convert to en-US (mm/dd/yyyy) format.</p>
  <p>Need to check a condition if it is not in en-US date format, then need to convert to en-Us format.</p>