format() in VBscript

Results 1 to 4 of 4

Thread: format() in VBscript

  1. #1
    Kams Guest

    Default format() in VBscript

    what is the equivalent function of format()-VB in VBscript?<BR>I want to format the dates retrieved from the database to show 4 digits for the year part, in the ASP page.

  2. #2
    Kevin Guest

    Default RE: format() in VBscript

    There are a few changes to the format command in VBScript. Here are all of the format commands. Also, I don&#039t know about ASP&#039s but VB uses the date format that is set in Control Panel - Regional Settings. Mine is set to: M/d/yyyy Most people are set to M/d/yy It would be worth looking into. <BR><BR><BR>FormatNumber<BR>FormatCurrency Function<BR>FormatDateTime Function<BR>FormatPercent Function

  3. #3
    Kevin Guest

    Default RE: format() in VBscript

    Here&#039s one I used.<BR><BR>formatdatetime(now(), vbShortDate)

  4. #4
    Mark Guest

    Default RE: format() in VBscript

    Does anyone know where i get get a free asp component which can retrieve nt user information from ADSI.

Posting Permissions

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