current_time = datetime.datetime.now()
print("current time ", current_time)
Result:
current time 2021-03-08 23:22:59.912410
Here, I want only up to minutes(2021-03-08 23:22) and need to get rid of seconds and milliseconds from the current time. Please help