how to get data from angular form using moment code example
Example 1: angular moment
npm install --save moment
...
import * as moment from 'moment';
Example 2: getFullYear within moment in angular
alert((new Date()).getFullYear());
npm install --save moment
...
import * as moment from 'moment';
alert((new Date()).getFullYear());