ASP VB Hidden field set date

I have an ASP/VB page. A form that submits a value to next page, the field is a hidden field and should have 'today's date'.
How can I have 'getdate()' value in the field ?
What would the value of the hidden field be ? and if needed a script ?


Who is Participating?
Kevin PhamConnect With a Mentor Commented:
Here's a quick one:

<input type=hidden value=<%=date()%>>

Open in new window

or <input type="hidden" name="datecomplete" value='<%= now %>'>
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.