var dt = moment('09/03/2018', "YYYY-MM-DD HH:mm:ss") //Day of the week dt.moment().format('d'); //Returns 5