Tanggal JS adalah akhir pekan

var day = yourDateObject.getDay();
var isWeekend = (day === 6) || (day === 0);    // 6 = Saturday, 0 = Sunday
just-saved-you-a-stackoverflow-visit