You can use Date object of javascript.For demonstration.
var date= new Date();
var month = (date.getMonth())+1;
var day = date.getDay();
var year = date.getYear();
var hour = date.getHours();
var minute = date.getMinutes();
var currDateFormat = month + "/" + day + "/" + year + " " + hour + ":" + minute;
window.document.write(currDateFormat);
Then make an ajax call to server,sending your formatted date to server.Use Jquery ajax construct as below.
$.ajax({
url: "Your url",
type: "post",
data: currDateFormat,
success: function (response) {
}
});
In above code you can recollect the status of your data base operation from any server side coding in success function code block of ajax.Here in above code use 'response' to achieve it.Hope this will help you.