It's in UTC.
If you want to get your local timezone you have to format the date yourself (using getYear()
getMonth()
etc.) or use some library like date.js that will format the date for you.
With date.js it's pretty simple:
(new Date()).format('yyyy-MM-dd')
edit
As @MattJohnson noted date.js has been abandoned, but you can use alternatives like moment.js.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…