f1-mcp-server / utils /time_utils.py
arre99's picture
time utils
7133c6f
raw
history blame
288 Bytes
import datetime
def get_current_time():
"""
Returns the current time in the format: HH:MM:SS
"""
# NOTE: I can perhaps modify what "now" is to instead be at a past F1
# race when testing real-time tools
return datetime.datetime.now().strftime("%H:%M:%S")