News for hackers. Stuff that matters.
Re:Again on 0-based vs. 1-based indexing by hmry on Wednesday January 20, 2021 @04:03AM (#25844189)
> There is no zeroth second, zeroth minute, hour

My clocks all start at 00:00:00 every day, and that seems entirely logical to me. It's also how all programming languages that I've worked with represent time.

Re:Again on 0-based vs. 1-based indexing by IlliOnato on Wednesday January 20, 2021 @07:03PM (#25853576)
But 00:00:00 does not represent the first second of your day. It represents a _point_in time, which has no duration.

The first second of your day is an interval between the moment your clock shows 00:00:00 and the moment it shows 00:00:01.

If 00:00:00 is the fist second, why it's not the first minute and not the first hour? Is the fist second is the same as the first minute and the first second?