I need to get always the same date string format for different user input string.
23.6.18
23.6.2018
23.06.18
23.06.2018
All these strings should result in DD.MM.YYYY
23.06.2018
Should I use momentJS for that? Right now I do not use that in my project.
My problem is, that the input strings are string
elements, not a real date value.