472,141 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,141 software developers and data experts.

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 2116
<%
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.