Code has been added to clipboard!

YYYY/MM/DD Format in JavaScript Date

Example
var z = new Date("2018/01/20");