How to import date time and print date time? | Sololearn: Learn to code for FREE!

0

How to import date time and print date time?

Please put the code to understand better

5/20/2021 12:02:13 PM

Beginner

6 Answers

New Answer

+2

https://code.sololearn.com/c8Fr35l2K427/?ref=app

+2

If you have access to google.com then try searching this "How to import date time and print date time?" you will get relevant answers! https://www.w3schools.com/python/python_datetime.asp https://www.programiz.com/python-programming/datetime/current-datetime

+1

import datetime!!! Show your attempt. Please.

+1

No. You forgot the .now() thing. https://code.sololearn.com/cQTQG3iAuBw1/?ref=app

0

Is this right ? https://code.sololearn.com/c611NgMTtaU6/?ref=app

0

Thanks🙋