how do i write a code that notifies me that a certificate is valid from 17 March 2017 to 16 March 2022 and should be renewed from 17 March 2022 for another validity period of 5 years. Please note that the standard validity period is usually 5 years.
I put together some code on jupyter notebook using python which I ran and got an output as shown in the attached image, I however feel I however know it has not been done right.
find my codes below: