Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
13 lines (9 sloc) 469 Bytes
title version signature
As Javascript Date

To get a copy of the native Date object that Moment.js wraps, use moment#toDate.

This will return a copy of the Date that the moment uses, so any changes to that Date will not cause moment to change. If you want to change the moment Date, see moment#manipulate or moment#set.

moment#native has been replaced by moment#toDate and has been deprecated as of 1.6.0.