Date&Time

First step for doing this is import “datetime”. Then create a variable that store “datetime.now()” when you print this you will get the present time  year-month-day hour: min : sec. However you could print only year or month by it self if you want, You only need to print out “now.year” or “now.month”. Moreover there are other way to do this by using “%s” and %().For example you want to print out year, month and day. You could write like %s/%s/%s then % (now. Year, now. Month, now.day) as a result you will get year/month/day by number.

datatime-1datetime-2dt3dt4dt5dt6