Date function???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nabman
    New Member
    • Nov 2007
    • 7

    Date function???

    What is the function to show the current date in a text box, which is going to be written to a text file.

    I tried Now() and Today() but they all give me the time as well

    I need the format to be

    11/30/2007

    not

    11/30/2007 11:56:55 PM
  • CyberSoftHari
    Recognized Expert Contributor
    • Sep 2007
    • 488

    #2
    Use
    [code=vb]
    Format(date,"MM/dd/yyyy")
    [/code]

    Comment

    Working...