Forums

This topic is locked

Insert date - Urgent

Posted 13 Dec 2002 17:49:53
1
has voted
13 Dec 2002 17:49:53 Carlos Leal posted:
How do I put a «input type="text"» that the value is always the date of the day?
Very urgent, please help

Carlos Leal

Replies

Replied 13 Dec 2002 19:58:53
13 Dec 2002 19:58:53 Jeremy Conn replied:
You want it to read as follows:

Use 'Now' for: mm/dd/yyyy 12:00:00 AM
Use 'Date' for: mm/dd/yyyy

<input value="<%=Now%>">

(DWMX|IIS5|Access2K|XP|ASP/VB)
*Connman21*
www.conncreativemedia.com

Edited by - connman21 on 13 Dec 2002 20:03:11
Replied 13 Dec 2002 20:35:17
13 Dec 2002 20:35:17 Carlos Leal replied:
I put like this <input type="text" name="data" size="20" value="<%=Date%>">, and on-line appear this message Date() { [native code]}, so give me error!

Is missing something?
Replied 14 Dec 2002 21:29:07
14 Dec 2002 21:29:07 Jeremy Conn replied:
Make sure you're viewing your page using your web server - that your page is dynamic... etc.

(DWMX|IIS5|Access2K|XP|ASP/VB)
*Connman21*
www.conncreativemedia.com
Replied 16 Dec 2002 12:21:12
16 Dec 2002 12:21:12 Carlos Leal replied:
I'm using Javascript language, could that be the problem?

Carlos Leal

Reply to this topic