Query About datetime module in Python

34 views
Skip to first unread message

Tanzeem

unread,
Oct 9, 2022, 2:19:31 AM10/9/22
to Python Finland
Hey hi,
My name is Tanzeem Khan from India.
I am an intermediate python programmer,
I have 2 questions regarding datetime module and time module.

1. What is the difference between datetime.datetime.now() and datetime.datetime.today()?
2.  What is the difference between time,time() and time.perf_counter()??

Please respond.
Thank you
Huge Love from India
Reply all
Reply to author
Forward
0 new messages