| DC_DATETIME_LOCALTIME(3) | Library Functions Manual | DC_DATETIME_LOCALTIME(3) | 
dc_datetime_localtime —
#include
  <libdivecomputer/datetime.h>
dc_datetime_t *
  
  dc_datetime_localtime(dc_datetime_t
    *result, dc_ticks_t ticks);
Note: unlike in struct tm, the value for year is normalised, not less 1900; moreover, the value for month is from one, not zero.
The dc_datetime_localtime function may
    internally invoke libc's
    localtime(3), or if available,
    localtime_r(3).
NULL if ticks cannot be sanely
  converted or if result is NULL.
| January 11, 2017 | NetBSD 9.0 |