diff --git a/venv/virtual.py b/venv/virtual.py index b8eda2f..c1b2a0d 100644 --- a/venv/virtual.py +++ b/venv/virtual.py @@ -128,6 +128,10 @@ def takeCommand(): elif 'time' in statement: strTime=datetime.datetime.now().strftime("%H:%M:%S") speak(f"the time is {strTime}") + + elif 'date' in statement or 'current date' in statement: + strTime=datetime.datetime.now().strftime("%d:%m:%Y") + speak(f"the date is {strTime}") elif 'who are you' in statement or 'what can you do' in statement: speak('I am G-one version 1 point O your persoanl assistant. I am programmed to minor tasks like'