Vito99's picture
Duplicate from aliabid94/AutoGPT
40a5d34
raw
history blame contribute delete
244 Bytes
from datetime import datetime
def get_datetime() -> str:
"""Return the current date and time
Returns:
str: The current date and time
"""
return "Current date and time: " + datetime.now().strftime("%Y-%m-%d %H:%M:%S")