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