var today = new Date().toISOString().substr(0, 10).replace('T', ' ');

현재 날짜가 2017-06-07 가져옴

Posted by 샤린냥