Started working on the writeNewDate method