Just write time to txt file