Tag Archives: datetime

How to get current year, month, day, etc. in python

Ok, so you have been coding for quite some long hours this week and you suddenly realie you dont even know what day it is. Or even year (yes, it happens). Since you are on the python command line, here’s what you can do: (ok, so the scenario could be slightly different…still, the method to… Read More »