I have a string like :
var from = '2016-06-06T21:03:55' ;
Now how do I convert it into a timestamp such that I can give it as an input to momentjs. Basically, I want to find the difference in the timestamps as seen in this post : Get hours difference between two dates in Moment Js
Look at the last answer in the above post.
Please please help em out. I am stck on it since hours now.

Pass this variable to the moment ctor.
Or you can use the format method to see the value fo the moment variables, like :