I have this doubt, I need to record it in a variable with that format, but the pipe seems to work only in HTML.
I need today's date with the format dd-MM-yyyy
Today's date is like this
this.today = Date.now();
But there I stay ... I've been looking but I can not find it, only forms come out using the pipe.
Greetings and thanks