I have the following problem.
I have a data picker that gives me the value of the date like this: dd-mm-aaa (05-13-2016)
But I need to check which day of the week is ex: Today is Friday. The problem I can not check with this format.
I would have to get the value of the field and change it to use New Date () and getDay () to verify. Now how do I do this?
Or do I have to check with this same format?
Or how to use the toLocaleDateString
method
I need to be in javascript not Jquery, I'm learning JS.
Hugs