Somehow I managed to make the date work,
<td width="67"><font size="3"><b>*Date</b></td>
<td width="3">:</td>
<td width="168"><input name="adate" type="text" id="adate" maxlength="20" value="<?php echo date("Y/m/d") . "<br />"; ?>">
how do I echo the time in this form:
<td width="67"><font size="3"><b>*Time</b></td>
<td width="3">:</td>
<td width="168"><input name="adtime" type="text" id="adtime" maxlength="15">
</td>
Depends on what format you want for the time.
the php date() function has a number of different ways of representing time. If you just want HH:MM:SS you could do this: