calc_time_t()

Synopsis:

unsigned long calc_time_t(const struct tm *tm);

Description:

Given a struct tm (with values appropriate for the UTC timezone), calculate the value to be placed in the boot_time field of the qtime section.

Returns:

>0
Success.