Mine
public text v1 · immutablestruct tm get_time()
{
struct tm *time_struct;
time_t temp_time;
temp_time = time(NULL);
time_struct = gmtime(&temp_time);
return *time_struct;
}struct tm get_time()
{
struct tm *time_struct;
time_t temp_time;
temp_time = time(NULL);
time_struct = gmtime(&temp_time);
return *time_struct;
}