DateTime Format to string?

Can you elaborate?