yeah i've read up on it, but it still doesnt really give me much of a clue on how to do this

mktime requires a "tm" structure, and returns a "tm" struct
conversion between these formats are a pain! =(