Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DC_DATETIME_NOW(3)	    Library Functions Manual	    DC_DATETIME_NOW(3)

NAME
       dc_datetime_now -- return the current integral timestamp

LIBRARY
       library "libdivecomputer"

SYNOPSIS
       #include	<libdivecomputer/datetime.h>

       dc_ticks_t
       dc_datetime_now();

DESCRIPTION
       Get the current system timestamp	as an integral value.

       The dc_datetime_now function may	invoke libc's time(3).

RETURN VALUES
       This always returns the system time.

SEE ALSO
       dc_datetime_gmtime(3), dc_datetime_localtime(3),	dc_datetime_mktime(3)

AUTHORS
       The  library  "libdivecomputer"	library	 was  written  by Jef Driesen,
       jef@libdivecomputer.org.	 The manpages were written by
       Kristaps	Dzonsons, kristaps@bsd.lv.

FreeBSD	Ports 14.quarterly     January 11, 2017		    DC_DATETIME_NOW(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dc_datetime_now&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help