Python - How to import 'datetime'

Import datetime

To import datetime, Add the following line to the top of your code.

import datetime