Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

Timestamp():-

        You can also create date objects from a timestamp. You can convert a timestamp to date using from timestamp() method.

import time

ts = time.time()

print(ts)

Output

1717608192.4099374

error: Content is protected !!