use Date.parse trying to turn today.getSeconds and getMinutes to integers to chose out of 2 backgrounds from if else satment but seem to be getting a null value so always not equil to the number in the condition part of if statment