GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DC_DATETIME_MKTIME(3) FreeBSD Library Functions Manual DC_DATETIME_MKTIME(3)

dc_datetime_mktimeconvert an local date and time to a timestamp

library “libdivecomputer”

#include <libdivecomputer/datetime.h>

dc_ticks_t
dc_datetime_mktime(const dc_datetime_t *dt);

Convert a broken-down local date and time created with dc_datetime_localtime(3) into an integral timestamp.

The dc_datetime_mktime function may internally invoke libc's mktime(3).

This returns the integral time-stamp or -1 if the given date and time may not sanely be converted.

dc_datetime_gmtime(3), dc_datetime_localtime(3), dc_datetime_new(3)

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

January 11, 2017 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.