use the ToString() method to convert a DateTime to a string