Forums
This topic is locked
automatic date
03 Aug 2001 16:37:00 Phuc Ngo posted:
I have a field on a form which the user fill in the date. Is there a way that when the user logged on to this page, the current date will automatically be entered into that field for them in this format "8/3/2001"
thank you in advance.
-Dave
Replies
Replied 10 Aug 2001 20:15:07
10 Aug 2001 20:15:07 Waldo Smeets replied:
Try <%=Date()%> or <%=Now()%>
You can also set the default value of the date column in your database to the current date.
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
You can also set the default value of the date column in your database to the current date.
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 10 Aug 2001 20:21:55
10 Aug 2001 20:21:55 Phuc Ngo replied:
Waldo,
Thanks a lot!
Thanks a lot!