/* Returns the total number of whole seconds in the specified timespan  */
int64_t timespanToSeconds(timespan_t *timespan)
/* Returns the total number of whole seconds in the specified timespan  */
int64_t timespanToSeconds(timespan_t *timespan)
{
  return ((int64_t)timespanToMinutes(timespan) * 60) + timespan->seconds;
}