A C++ library and console program that parses (ISO 8601) datetime strings (with timezone) into quickly sortable values (and back to strings) and allows arithmetic with various calendars and units. Calendars supported are No Leap, Gregorian, All Leap, 360 Days, Julian, and Proleptic. For arithmetic, units allow offsets and deltas in years, months, days, hours, minutes, and seconds, so datetimes can be computed relative to a baseline using an offset (a technique often used in scientific datasets such as NetCDF climate models). The library is a single header file with no dependencies.

Features

  • Single C++ header file library.
  • No dependencies.

Project Samples

Project Activity

See All Activity >

Follow ezdatetime

ezdatetime Web Site

Other Useful Business Software
99.99% Uptime for MySQL and PostgreSQL Databases Icon
99.99% Uptime for MySQL and PostgreSQL Databases

Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ezdatetime!

Additional Project Details

Registered

2012-05-26