Formatted date '2015/04/22' in 'en-GB' locale: <samp></samp>

<br />
<br /> Formatted today date in 'en-GB' locale: <samp></samp>
body {
  font-family: bookman old style;
  font-size: 14pt;
}

samp{
  color: CRIMSON;
  font-weight: bold;
}
var mydate = new Date('2015/04/22'),
  formatter = new Intl.DateTimeFormat('en-GB'),
  /* UK English */
  output = formatter.format(mydate),
  samps = document.querySelectorAll('samp');

samps[0].textContent = output;
samps[1].textContent = formatter.format(new Date());
/* current date in en-GB format */

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.