Contents
Date-time utilities

Overview

This header provides user friendly date/time utility functions, defined within the Balau::Util::DateTime namespace.

Balau includes a copy of the Hinnant date library in the ThirdParty folder. The library is used by Balau and can be used directly in applications that use Balau. Documentary references to this library refer to the library as the HH date library.

Quick start

#include <Balau/Util/DateTime.hpp>

The following functions are currently implemented. More information is available on the API documentation page.

Function name Description
toString Format the time point as a string with the specified format.
toDuration Create a duration from the supplied string which is in the specified format.