469,904 Members | 1,898 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,904 developers. It's quick & easy.

ASP Auto date

Virtualmedia
Hi I am writing a dynamic contact form for my website http://www.virtualmedia.co.nz (contactus.asp) everything works okay except that I want to insert an auto date function to record the date and time of the message sent, instead of having to type it in manually all the time can any help me please....
Oct 16 '06 #1
1 2046
<%
Dim datetime
datetime = date() & time()
%>

<input type="hidden" value=<%=datetime%> name=<"date">
Oct 16 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Edwin Knoppert | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.