Use this to transform a moment object into a date object:
From http://momentjs.com/docs/#/displaying/as-javascript-date/
moment().toDate();
Yields:
Tue Nov 04 2014 14:04:01 GMT-0600 (CST)
More Related Contents:
- Get the time difference between two datetimes
- Get hours difference between two dates in Moment Js
- “Deprecation warning: moment construction falls back to js Date” when trying to convert RFC2822 date in moment.js
- Moment js date time comparison
- Format date in a specific timezone
- Format date with Moment.js
- Deprecation warning in Moment.js – Not in a recognized ISO format
- How to prevent moment.js from loading locales with webpack?
- How to JSON stringify a javascript Date and preserve timezone
- moment.js – UTC gives wrong date
- Moment.js: Date between dates
- How to use format() on a moment.js duration?
- Comparing two times with Moment JS
- Change format of md-datepicker in Angular Material with momentjs
- Moment.js gives Invalid date in Firefox
- How can I remove time from date with Moment.js?
- Format date and Subtract days using Moment.js
- moment.js 24h format
- How to convert Moment to another moment depending on timezone
- Countdown timer using Moment js
- Hour difference between two times(HH:MM:SS a)in momentjs
- Moment.js – How To Detect Daylight Savings Time And Add One Day
- How to create time in a specific time zone with moment.js
- How to get difference between 2 Dates in Years, Months and days using moment.js
- How do I format a date as ISO 8601 in moment.js?
- Starting the week on Monday with isoWeekday()
- Convert date to UTC using moment.js
- Moment.js months difference
- Get the days, hours and minutes in Moment.js
- How to convert Moment.js date to users local timezone?