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
See this. The $.now() method is a shorthand for the number returned by the expression (new Date).getTime().
$.now()
(new Date).getTime()