Infosphere Datastage – Useful Date Transformations
Here are few Datastage date transformation, which I have found useful, many of these can Also be accomplished in SQL, if sourcing your data from an RDBMS. Useful Date Transformations Item Description Result Tomorrow DateFromDaysSince(1, CurrentDate()) Yesterday DateFromDaysSince(-1, CurrentDate()) Convert date to string with dashes DateToString((<< Date_Field or CurrentDate() >>,”%,”%YYYY-%MM-%DD”) 2011-11-02 Convert date … More Infosphere Datastage – Useful Date Transformations