Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize date format

function getDateWithoutTime(date) {
    return require('moment')(date).format('YYYY-MM-DD');
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #sequelize #date #format
ADD COMMENT
Topic
Name
9+3 =