change logic of getCreationDate