I need to make a program that can set the timezone and time on a machine whose cmos battery slot has been ripped clear. I have realized that I spend way too much time staring at the console so I have decided to make a simple c program that will alert me every x amount of time to get off my butt. I intend to use the gettimeofday() and settimeofday() functions but... I don't know how I should alter the timezone struct. Please don't tell me to go to google 'cause I'm lazy and don't feel like digging through irrelavent results.