Forum Replies Created

Viewing post 16 (of 16 total)

  • RE: Trouble Converting from DT_WSTR to DT_DBDATE

    Hi,

    I tried the following, but it still didn't work when trying to return a date as DD-MM-YYYY. Please see the expression below:

    (DT_DBDATE)(DT_WSTR,2)(SUBSTRING(DATE,1,2) + "-" + (DT_WSTR,2)SUBSTRING(DATE,4,2) + "-" + (DT_WSTR,4)SUBSTRING(DATE,7,4))

Viewing post 16 (of 16 total)