I think your requirements can be easily fulfilled if you use this calender
http://www.javascriptkit.com/script/script2/epoch/index.shtml[
^]
with this script on keypress
<asp:textbox id="TextBox6" runat="server" onkeypress='return AcceptDateCharacters(event, "/");'></asp:textbox>
and this javascript function to restrict the input
function AcceptDateCharacters(event, separator)
{
if(separator.length != 1)
{
return false;
}
var expression = "^[0-9";
expression += separator;
expression += "]$";
var regex = new RegExp(expression);
return AcceptRegExOnly(event, regex)
};
I wrote this couple of years back and till date it is working fine.