hournow = (now.hour(), DEC);
If you assign the value 10 (aka DEC) to a variable, and then print the variable, then 10 is the value you'd hope to see.
Try
hournow = now.hour();
hournow = (now.hour(), DEC);
If you assign the value 10 (aka DEC) to a variable, and then print the variable, then 10 is the value you'd hope to see.
Try
hournow = now.hour();