Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding the current date to a hidden field

Status
Not open for further replies.

megasuperman

Programmer
Aug 20, 2001
21
US
I need to show when the record was updated or added...

so I need to use date() or something similiar and everything I have tried gives me an error..

I have tried using form manager and like

DateBox Value Date()

and tons of others

If any one has ANY ideas please help

anything I can try whether you are sure or not

THANX
 
ohh

if I enter

DateBox Value Date()

I get
Sun Aug 26 13:41:17 2001
as the value

I need it in the format 08-26-2001
 
got it working

had to use

<SCRIPT LANGUAGE=VBScript RUNAT=&quot;Server&quot;>
OrderDate.value = Date()
</SCRIPT>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top