Solved

ASP VB Hidden field set date

Posted on 2009-04-02
2
564 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

726 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