In today’s lab, we’re learning how to use the “datetime” function as an advanced way of understanding Strings and Console Outputs. In this lab, you’ll see how I use the function to accurately point out the specific time of the month, day, hour, minute, and second.
Here are my lab results:
The Datetime Library:
Getting the Current Date and Time:
Extracting Information:
Hot Date:
Pretty Time:
Grand Finale: