I try to do a little script using moment.js, that shows me how many hours and minutes (seperate) I have until a specific hour.
var TimeA = moment(\'08:00:00\
When you call .format(), what you get back is a String. You're no longer dealing with a moment object.
.format()