This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Please check this java script whihc you cann add in your any .js file and use it properly, since i have this so I am pasting it here, this method will take date string in mm/dd/yyyy format and return you the Date object.
which you can store in ddatabase, please tell me if you need anything else.