Why does the first line of code returning an object of type "Date" while the second one returns a "number"?
Based on information from the documentation (http://www.w3schools.com/jsref/jsref_sethours.asp), setHours() is supposed to only change the hour value of the date object, not convert it.
The following code is being discussed:
var currentDate = new Date();
var changedDate = currentDate.setHours(19);
Any insights or explanations would be greatly appreciated!