The problem is that I want it to ignore the date and only factor in the time. Here is what I have:
import time from time import mktime from datetime import d
Use this only gives you time.
from datetime import datetime now = datetime.now() current_time = now.strftime("%H:%M:%S") print("Current Time =", current_time)