Computer Science, asked by pradeepkatyura8526, 1 year ago

How can we do date and time math in Python?

Answers

Answered by anushkasharma33
0

your answer is here

Attachments:
Answered by tia206
0

Click the attachment to get complete code to get current date and time using datetime now.

Step 1) Like Date Objects, we can also use "DATETIME OBJECTS" in Python. It gives date along with time in hours, minutes, seconds and milliseconds. When we execute the code for datetime, it gives the output with current date and time. Step 2) With "DATETIME OBJECT", you can also call time class

Mark me as brainliest.

Attachments:
Similar questions