Depending on today's date (new Date()), I would like to get the date of the next Thursday at 7pm in javascript. For example:
If today's date is "Mon Apr 24 2017 13:00:00 GMT" I am looking for the result:
Thu Apr 27 2017 19:00:00 GMT
However, if today's date is "Thu Apr 27 2017 21:00:00 GMT" (a Thursday, but past 7pm) I am looking for the result:
Thu May 4 2017 19:00:00 GMT
Any help would be much appreciated!