Customized Date

Results 1 to 3 of 3

Thread: Customized Date

  1. #1
    Join Date
    Dec 1969

    Default Customized Date

    How do I get a date in this format 14-FEB-01 via Vb Script or Javascript since I am inserting it into an Oracle database and thats the default date format of Oracle?<BR>Presently I have:<BR>&#060;%dim mydate<BR>mydate=date%&#062;<BR>and this gives me 2/14/01<BR>Thanks for any help.

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: Customized Date

    See what FORMATDATETIME can do for you<BR><BR><BR>

  3. #3
    Eddie Campbell Guest

    Default RE: Customized Date

    MyDate="14/02/01" <BR>Response.Write Ucase(DatePart("d",Mydate) & "-" & Left(MonthName(DatePart("m",MyDate)),3) & "-" & Right(DatePart("yyyy",MyDate),2))

Posting Permissions

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