2. Python Beyond BasicsVI. Standard Library Power Tools54. Datetime BasicsOn this page54. Datetime Basics The datetime module provides date and time manipulation. Example from datetime import datetimenow = datetime.now()print(now.strftime("%Y-%m-%d %H:%M:%S")) Wrap-Up Use datetime for working with dates and times.