<div id=display></div>
<div id=display2></div>
<script>
var date= new Date();
var firstDay = new Date(date.getFullYear(), date.getMonth(), 1);
date.setDate(14-firstDay.getDay());
document.getElementById('display').innerHTML=date
// DD/MM/YYYY format
var str=date.getDate() +'/'+(date.getMonth()+1)+'/'+date.getFullYear()
document.getElementById('display2').innerHTML=str
</script>