Results 1 to 3 of 3

Thread: Date

  1. #1
    Join Date
    Jan 2005
    Posts
    9

    Unanswered: Date

    Hi guys, does anyone know how to put the 'date()' function into a text box.

  2. #2
    Join Date
    May 2004
    Posts
    125
    <html>
    <body>
    <input type="text" name="txtMyControl" value="<%=MyVariableHere%>">
    or
    <input type="text" name="txtMyControl" value="<%=date()%>">
    </body>
    </html>

  3. #3
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    And of course you could use the Date() function in conjunction with the FormatDateTime() function.

    And for more about any and all functions:

    Visual Basic Scripting Edition Functions
    http://msdn.microsoft.com/library/de...ifunctions.asp
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

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