Date and Time

 

This lab was about Date and Time.

The first section of this lab was basically done for us. Below is the second section, where we had to get the current date and time. The first line imports the datetime library and the second line printed out the current date and time.

 

Getting The Cutrent Date and Time

Next we learned how to extract information. Given the first two lines we had to print now.year, print out now.month, and print out now.day.

image

In my opinion this was one of the more easier labs especially since it was so short.