Adding time_stamp column to working periods