mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-03 10:05:13 +00:00
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")
|