 <p>To convert from one date format to another, just modify the answer posted at <a href="http://stackoverflow.com/a/27659933/1745001">http://stackoverflow.com/a/27659933/1745001</a> to suit your input format.</p>