2.3 time and dateandtime
Contents
Note
Click here to download the full example code or to run this example in your browser via Binder
2.3 time and dateandtime#
Important
This lesson is still under development.
time#
import time
time()
8.106231689453125e-05 seconds
sleep()
strftime()
asctime()
clock()
daylight
localtime()
timezone
ctime()
datetime#
import datetime
datetime.ctime()
datetime.now()
datetime.strftime()
datetime.strptime()
datetime.isoformat()
datetime.fromisoformat()
datetime.toordinal()
datetime.fromtimestamp()
Total running time of the script: ( 0 minutes 0.001 seconds)