Insert date into array
<p>I have inserted random date into a textbox let it be 12/2/2009 now I want only 2 in this how to do it with javascript how do I need array or any other method.</p>

<p>Please give me an appropriate example</p>
