Does anyone know how to take the epoch time in switch_event_t and convert it into a format such as "Sat Jul 5 02:44:33 2009"?

Is there any existing facility that I can use for this purpose?

br,
JB