calc_time_t()

Updated: May 06, 2022

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.