I've been utilizing a datepipe to convert a Date object into a string format.
const mydate : Date = new Date();
This conversion works flawlessly in the template section.
{{ mydate | date: "dd.MM.yyyy" }}
It also successfully converts Date objects to strings within the corresponding class.
let str : string = this.dp.transform(dtm, "dd.MM.yyyy");
However, I'm wondering if there is a way to perform the reverse operation. Can the pipe parse a string input and return a Date object?