Dealing with java date is my biggest fight since forever.
I just received date like for example:
1998-01-05T00:01:00+01:00
Is there a way to get the first 10 characters without cutting string? Angular2 offers date pipe but I don't know if and how could I use that here.
Thank you for your help.
PS: java.sql.Date is not an option