Date and Time

 

In this program I wrote code to see current date and time . At first I imported Date and time module and then used print to see the time and date. The 4th line is to put the result in format of  year then month then day then hour then minutes and seconds.