LibDt is a cross-platform library which provides a comprehensive set of C-language functions to operate with date and time.
LibDt is a cross-platform library which provides a comprehensive set of C-language functions to operate with date and time.
Features
Timestamp to date/time representation conversion using arbitrary time-zone;
Date/time representation to timestamp conversion using arbitrary time-zone;
Cross-platform: Windows, Unix-like;
Platform-
Reentrancy;
Operating system time-zone database support;
Nanosecond precision (microsecond on Windows platforms);
ANSI C API;
Design
LibDt operates with following design elements:
Timestamp - an opaque point on the time continuum, see dt_timestamp_t;
Interval - a distance between two timestamps expressed in seconds, see dt_interval_t;
Offset - a directed Interval, see dt_offset_t;
Representation - a human-readable representation of the Timestamp: {year, month, day, hour, minute, second, nano-second}, see dt_representati
Timezone - a set of rules how to interprete Timestamp as Representation, see dt_timezone_t;
View full history Series and milestones
trunk series is the current focus of development.