Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Html Form Include current data/time

Status
Not open for further replies.

kennedymr2

Programmer
May 23, 2001
594
AU
I have an html page containing a form
the form has a field for date and time

Enter the date&nbsp; <INPUT TYPE=TEXT NAME="pdate" SIZE=8 MAXLENGTH=8>
<EM> -- dd/mm/yy</EM></font></b>
</P>
</BLOCKQUOTE>
<BLOCKQUOTE>
<P>
<b><font color="#FFFFFF">&nbsp;Enter the time&nbsp;
<INPUT TYPE=TEXT NAME="ptime" SIZE=8 MAXLENGTH=8>
<EM> -- hh:mm:ss</EM></font></b>

???? How do i place the current date and time into these fields. ie. the date from the clients computer. (not the providors server)


Appreciate any help

Regards kennedymr2
 
This would be more of a JavaScript question. Try the Javascript forum

There's no guarantee that JS will be enabled on the client machine however

HTH
--Paul



cigless ...
 
PaulTEG
Thanks for your advice, have posted to another forum
regards kennedymr2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top