Initializing a struct is similar to initializing a class. Usually you use pointers, i.e. struct tm *pTimeValue in which case you would need to malloc the space for the pointer, then init each of the member variables. Either way, the struct tm is defined in time.h and has the following member variables:
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
So you want to init each of these before they are used, i.e. TimeValue.tm_sec = 0, or pTimeValue->tm_sec = 0, if you're using a pointer.