File size: 288 Bytes
7133c6f |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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")
|