Hai provato con
struct tm *localtime( const time_t *timer );
http://www.qnx.com/developers/docs/q...localtime.html