Advertisement
KodingKid

Displaying the current time, day, and overall date in Python

Mar 24th, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. import datetime
  2. current_date = datetime.datetime.now()
  3. print(current_date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement