Hello, I was wondering if someone can help. I need to verify a user inputted Date that’s in specific format, but then outputted in a different format. For example if user inputs the date as 12/09/2019 in a admin section, which is in the format of (‘MM/dd/yyyy’), but then it’s outputted as (‘Saturday, December 12, 2019’) , which is (‘EEEE, MMMM dd, yyyy’).
How do I convert the inputted date into a new format and verify that it is displayed in (‘EEEE, MMMM dd, yyyy’). Any example would be extremely helpful.