I have an issue where I am being passed DOB in a variable from another source in the format of YYYY/MM/DD but in the application the customer is then asked to input DOB in the following format YY/MM/DD.
What function in Javascript or ECMA can I use to match these dates?
I need to match the DOB or not match so I can move to the next state. Its bad planning from my client but I need to find a way around it.
I am not a Javascript or ECMA person, so I am limited in what I can do. I am not sure I can do anything with it at all with the difference between the 2 date formats.