If you are usin jQuery then try the following code it will give you system date.
<span id="clientSyatemDate">This is current local Date Time in JQuery></span>
<button type="button" onclick="ClientSystemDate()">GetDate</button>
Script Code:
<script>
function ClientSystemDate() {
var todaydate = new Date();
var localdate = (todaydate.getMonth() + 1) + '/' + todaydate.getDate() + '/' + todaydate.getFullYear();
alert($('#clientSyatemDate').text(localdate));
}
</script>