Solved

ASP VB Hidden field set date

Posted on 2009-04-02
2
563 Views
Last Modified: 2012-06-27
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 ?

Thanks.

A
0
Comment
Question by:amucinobluedot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
Kevin Pham earned 500 total points
ID: 24052393
Here's a quick one:

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

Open in new window

0
 
LVL 10

Expert Comment

by:KenAdney
ID: 24052755
or <input type="hidden" name="datecomplete" value='<%= now %>'>
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question