Check if date is greater than current date at 17:30
<p>I have a date and a time parameters and I would like to check if that date/time is greater than the current date at 17:30. </p>

<p>I hope we could find a way using moment js. Is it possible?</p>

<p>I am trying this:</p>

<pre><code>let d = moment(new Date()).set({hour:17,minute:30});
let t = moment(myDate).set({hour:paramHour,minute:paramMinute});

if ( t.isAfter(d) ) {
    console.log('true');
}
</code></pre>

<p>Thank you.</p>