mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-10 07:38:04 -05:00
* Pi's message. * Fix most everything. * Blacked * Add Typing, Docstrings everywhere, organize the code a bit. * Black * fix import * Update message, dedupe. * Increase backoff time. * bump up retries
11 lines
244 B
Python
11 lines
244 B
Python
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")
|