timestamp function
clean