momentjs german date format

Solutions on MaxInterview for momentjs german date format by the best coders in the world

showing results for - "momentjs german date format"
Jasmine
07 Jul 2019
1const moment = require("moment");
2
3moment.locale("de");
4
5const now = moment();
6const dateString = now.format('L')
7
8console.log(dateString) // e.g. "01.01.2021"