Fix return from timestamp function.