Thank you for all your help. I built two simple functions (extract_timestamp, build_timestamp) to tear apart a timestamp and put it back together to make the job easier.
Thanks again! 'Sparky' ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend