mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 06:24:20 +01: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")
|