Tag: datetime
- dateutil.relativedelta: A must have tool in your python kitty (25 Apr 2021)
Making additions or subtractions to datetime variables is one of the most commonly encountered programming endeavors and that’s what the built-in datetime.datetime.timedelta object is for in python. Its very useful in adding hours or days to your datetime variables as follows: import datetime now = datetime.datetime.now() tea_time = now +...