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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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