1DC_DATETIME_NOW(3) BSD Library Functions Manual DC_DATETIME_NOW(3)
2
4 dc_datetime_now — return the current integral timestamp
5
7 library “libdivecomputer”
8
10 #include <libdivecomputer/datetime.h>
11
12 dc_ticks_t
13 dc_datetime_now();
14
16 Get the current system timestamp as an integral value.
17
18 The dc_datetime_now function may invoke libc's time(3).
19
21 This always returns the system time.
22
24 dc_datetime_gmtime(3), dc_datetime_localtime(3), dc_datetime_mktime(3)
25
27 The library “libdivecomputer” library was written by Jef Driesen,
28 jef@libdivecomputer.org. The manpages were written by
29 Kristaps Dzonsons, kristaps@bsd.lv.
30
31BSD January 11, 2017 BSD