Problem in convert the value as Date datatype using Javascript
Dear,
I'm working on a ASP, Javascript code, where I tried to send one Date value from one popup window to its opener main window.
popup code--------
<script language="JavaScript">
function sendvalue()
{
window.opener.setValue($date);
window.close();
}
</script>
main Window code------
<script language="JavaScript">
function setValue(val)
{
window.location='nextPage.asp?da='+val;
}
</script>
The problem is, while the value which need to pass being as correct formet (eg: 10/13/2005) when it received by "setValue" Method in main window it converted as like "0.0006234413965087282" this format.
Can you please give a solution to receive the value in again same format?
Thank you..
jena..