Help Needed Building Clock

Thanks for all your replies guys but i have tried all your sugestions and still cant get it working right - the anoyance is i did have it working before i lost the sketch, i am happy with the basic code i have i just want to be able to use the iff function correctly and want to know what i am doing wrong for it to be saying have you forgot the & symbol?

Any other sugestions would be great.

Thanks,

Phil.