In this lab, I learned how to display the current date and time using python and displaying it neatly in the desired format.
Code
1 from datetime import datetime
2 now=datetime.now()
3 print now
4 print now.year
5 print now.month
6 print now.day
7 print str(now.month)+โ/โ+str(now.day)+โ/โ+str(now.year)
8 print str(now.hour)+โ:โ+str(now.minute)+โ:โ+ str(now.second)
9 print str(now.month)+โ/โ+str(now.day)+โ/โ+str(now.year) + โ โ + str(now.hour)+โ:โ+str(now.minute)+โ:โ+ str(now.second)