I want to know how to use the Date() function in jQuery to get the current date in a yyyy/mm/dd format.
yyyy/mm/dd
You can add an extension method to javascript.
Date.prototype.today = function () { return ((this.getDate() < 10) ? "0" : "") + this.getDate() + "/" + (((this.getMonth() + 1) < 10) ? "0" : "") + (this.getMonth() + 1) + "/" + this.getFullYear(); }