Timekeeper
date
Timekeeper | date | |
---|---|---|
1 | 24 | |
10 | 3,121 | |
- | - | |
5.0 | 5.9 | |
about 2 months ago | 3 months ago | |
C++ | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Timekeeper
-
My current desktop.
Taskbar- TranslucentTB Start Menu- Open Shell Time- Timekeeper
date
-
Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
> but I'd be surprised if there was not a modern date library for C++
The standard library now includes . AFAIK: It was mostly written by Howard Hinnant. He now has more date/time libs that expand upon : https://github.com/HowardHinnant/date
-
Why no std::chrono::year_month_day::operatator+=(const std::chrono::days&)?
Ah: https://github.com/HowardHinnant/date/issues/178 https://stackoverflow.com/questions/62734974/how-do-i-add-a-number-of-days-to-a-date-in-c20-chrono
-
Converting text to std::chrono::timepoint
If you’re using an earlier standard you can use this, which the ‘official’ date/time zone stuff was based on: https://github.com/HowardHinnant/date
-
std::chrono Calculating an ordinal date and get the week number from an ordinal date
If you don't have C++20, or if your vendor hasn't shipped it yet, here is a free, open-source, header-only preview of this part of C++20 that you can use: https://github.com/HowardHinnant/date
-
Libstdc++ Gets C++20 Chrono
C++20 adds the timezone/caldendaring/formatting from Howard Hinnat’s Date Library https://github.com/howardhinnant/date .
So calendrical calculations and time zone support.
-
need help with constructing time with std::chrono
Unfortunately only implemented in MSVC right now, for other compilers and/or if you want to do anything with dates I suggest you use https://github.com/HowardHinnant/date directly, chrono is good enough for measuring time but if you do more complex things it can get a bit wild.
- Is there a port of the C++20 chrono library to C++17? MSVC and GCC
-
Is there any Date library like datetime from python
Here is the original calendar library that was adopted in C++20 (corrected link).
-
How to get epoch time to a specific date in C++? (Using std::chrono)
In lower C++ standards I would highly recommend including this as a header-only library: https://github.com/HowardHinnant/date. This was the basis for the new date/timezone functionality in C++20, so it's nearly identical and works down to C++11.
-
working with std::chrono
So you want date time functionality? Those come with c++20 otherwise you can use this. The author Howard Hinnant is the author of c++ chrono had have a few excellent video on YouTube explaining how to use chrono.
What are some alternatives?
Callisto - A desk clock that uses a Russian IV-18 VFD tube
pandas_market_calendars - Exchange calendars to use with pandas for trading applications
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
zeitkatze - time cat -- literally. Available as AUR package
marquee-scroller - Marquee Scroller Clock News Weather and More
rescript-date - 📆 Date manipulation in ReScript.
Open-Shell-Menu - Classic Shell Reborn.
abseil-cpp - Abseil Common Libraries (C++)
klock - Multiplatform Date and time library for Kotlin
nepali-datetime - Python's core datetime inspired Bikram Sambat (BS date) & Nepal Time (NPT) package🇳🇵
STL - MSVC's implementation of the C++ Standard Library.
MoreDateTime - An extension library to simplify dealing with .NET's DateTime, DateOnly, TimeOnly and TimeSpan objects, also includes support for the ISO 8601 EDTF profile.