Our AS400 application stores all of its dates in the format yyyymmdd (don't know why it doesn't store them as actual dates). I'm looking for an easy reformat them so that they are compatible with dates on DB2 8.2 AIX. I know I could do it with a bunch of substr functions and string concatenation, but I was wondering if anyone knows a cleaner way.