Add timestamps to nodes