0
is There datetime in code playground!?
4 Answers
+ 4
https://code.sololearn.com/cQR45h0YX11F/?ref=app
You can check here for help
+ 1
yep. just import it, to use it in your program.
+ 1
depends on what you want to do with this module.
if you just want to use a special method it's enough when you just import this method:
>>> from datetime import method
In most cases you import just the module with:
>>>import datetime
Then you can call the functions and methods with
datetime.method
here is the documentation about datetime:
https://docs.python.org/3.5/library/datetime.html
0
i wrote: from datetime import datetime: is this correct!?