date sequelize 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');
}