cctz

C++ library for translating between absolute and civil times

brewmacoslinux
Try with needOr install directly
Source

About

C++ library for translating between absolute and civil times

Commands

cctz

Examples

Link cctz library in C++ project compilation$ g++ -o myapp myapp.cpp -lcctz
Include cctz headers in C++ source code$ cat > example.cpp << 'EOF' #include "cctz/civil_time.h" using namespace cctz; int main() { civil_second cs(2023, 1, 15, 12, 30, 45); } EOF
Check installed cctz version and location$ brew info cctz && brew --prefix cctz