sequelize date formate code example
Example: sequelize date format
function getDateWithoutTime(date) {
return require('moment')(date).format('YYYY-MM-DD');
}
function getDateWithoutTime(date) {
return require('moment')(date).format('YYYY-MM-DD');
}