I keep having an issue with the module datetime at this section of the code whenever i run it, it should add the time to the alarm manager from the datetime-local input from the html part. But whenever the text and date are added an error of datetime.datetime is not an attribute of datetime.
from datetime import datetime
alarm_datetime = datetime.datetime(*alarm_tmp)