ROS loads a parameter /run_id on the parameter server which is unique for every start of the roscore. You could read this from the parameter server in your nodes and add that. It is not a time, and looks something like this 8e6217fa-95c5-11e6-a04a-<MAC>, but will probably suit your needs, if you are not requireing the actual time.