I'm reading in a file and I have a six character date field coming in like this: 060299
so, it's month day year format.
I know I need a y2k check so I can add 20 or 19 to my year field.
But does anyone have a good function to format the rest of my string.
I think db2 expects the date in this format: '0001-01-01-00.00.00.00.0000'
for date and timestamp.
Thanks in Advance.
John
so, it's month day year format.
I know I need a y2k check so I can add 20 or 19 to my year field.
But does anyone have a good function to format the rest of my string.
I think db2 expects the date in this format: '0001-01-01-00.00.00.00.0000'
for date and timestamp.
Thanks in Advance.
John