What is the best way to get client’s timezone and convert it to some other timezone when using moment.js and moment-timezone.js I want to find out what is clients timezone and later convert his date and time into some other timezone. Does anybody has experience with this? Answer This returns the difference from the clients timezone from UTC time. You
Tag: angular-moment
Extract time from moment js object
How do i extract the time using moment.js? It should return “12:00:00 pm”. The string return will be passed to the timepicker control below. Any idea? Answer If you read the docs (http://momentjs.com/docs/#/displaying/) you can find this format: See JS Fiddle http://jsfiddle.net/Bjolja/6mn32xhu/