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
jQuery is JavaScript. Use the Javascript Date Object.
Date
var d = new Date(); var strDate = d.getFullYear() + "/" + (d.getMonth()+1) + "/" + d.getDate();