Avatar of maqskywalker
maqskywalker

asked on 

using Date function in jQuery

I'm using jQuery

If i use this function

var d = new Date();

That saves today's date in the variable called d in this format:   Thu Sep 29 2016 21:59:45 GMT-0800 (Pacific Standard Time)

How do I revise the Format so it saves today's date in this format?:    09/29/2016
JavaScriptjQuery

Avatar of undefined
Last Comment
maqskywalker

8/22/2022 - Mon