I want to change the month date and time format in JavaScript. Currently I have got the time like this
Fri Sep 30 2016 17:30:00 GMT+0530 (IST)
But I want to convert it like this
2016, 9, 30, 17, 30, 0
So can someone tell me how to convert this date time in the required format? Any help and suggestions will be really appreciable. Thanks.