As LiquidLemon pointed out in review, this can be reduced.
Using, .year, .month, .day etc.. However, this was causing
a formatting issue with the comparison date times. In order
to correct, I will need to look into the time parsing and
do a bit more debugging to ensure it will not cause issues.