Converting a datetime to a varchar

I need to convert a datetime column to a varchar. The big question for me is how to get a string out of a datetime column? I am thinking the only way to do this would be to use a custom refactor class but the docs haven’t been much help showing me how to create one. There is a link to an example class but the link is broken.

Any help? Is this the best way to do what I need?


Ok, never mind…it looks like I can just use DATE_FORMAT to convert the date into a string.