Current Date

Results 1 to 2 of 2

Thread: Current Date

  1. #1
    Join Date
    Dec 1969

    Default Current Date

    I&#039ve created an ASP input form with a hidden field called "Date." How can I have the Current Date value get into this field and include it in the ASP file that posts to my database?

  2. #2
    Yann Guest

    Default RE: Current Date

    Try this in JScript<BR>&#060;%<BR>Dateobj = new Date();<BR>Dateobj.toLocaleString();<BR>%&#062;<BR ><BR>or this in VBScript<BR>&#060;%<BR>Dim MyDate<BR>MyDate = Date <BR>%&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts