<script language=\"javascript\" type=\"text/javascript\" src=\"datetimepicker.js\"></script>
print "<script language=\"javascript\" type=\"text/javascript\" src=\"datetimepicker2.js\">";
print "</script>";
print "<input name=\"EffStartDT\" type=\"text\" size=\"25\" value=\"".trim($_POST['EffStartDT'])."\"><a href=\"javascript:NewCal('EffStartDT','ddmmyyyy','true','24')\"><img src=\"cal.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Pick a date\"></a>";
print "<input name=\"EffEndDT\" type=\"text\" size=\"25\" value=\"".trim($_POST['EffEndDT'])."\"><a href=\"javascript:NewCal2('EffEndDT','ddmmyyyy','true','24')\"><img src=\"cal.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Pick a date\"></a>";
I want to create two date time pickers for start date time and end date time with different initial time,which is 00:00:00 and 11:59:59,but the second javascript keep overwrite the first one,means two of the calenders have 11:59:59 as initial value.How?