Formatting the Output
Format the output when printing date and time.
We'll cover the following...
We'll cover the following...
The problem
By default, when we print the DateTime object, it has an inconvenient format:
Format the output when printing date and time.
By default, when we print the DateTime object, it has an inconvenient format: