Date Conversion

Results 1 to 2 of 2

Thread: Date Conversion

  1. #1
    Trish Guest

    Default Date Conversion

    I am attempting to convert strings into a date. What I want to do is convert one of the strings into the month ~ and the other one into a year. Any suggestions???<BR><BR>Thanks,<BR>Trish

  2. #2
    Join Date
    Dec 1969

    Default RE: Date Conversion

    Try using vbscript&#039s cdate(). <BR><BR>I would concatanate all of the variables (put the month, day and year into variables) and surround it by cdate().<BR><BR>&#060;%<BR>dim month, day, year, dtedate<BR><BR>month = 2<BR>day = 1<BR>year = 2000<BR><BR>dtedate = cdate(month & "/" & day & "/ & year)<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