Is there a method to retrieve the time using Date() function without it being returned in milliseconds? If not, is there an alternative to .getTime() that will only provide me with precision in minutes?
I am also uncertain about how to remove the milliseconds from the date object.
var time = new Date().getTime()
Output: 1426515375925