How to extract hours and minutes from a datetime.datetime object? How to extract hours and minutes from a datetime.datetime object? python python