La formattazione di una data va applicato ad un valore DateTime, non ad una stringa.