Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: getFirstDayOfMonth() Date: Sun, 03 Mar 2024 09:52:46 -0800 Organization: A noiseless patient Spider Lines: 20 Message-ID: <86cysbtd75.fsf@linuxsc.com> References: <7VrEN.517245$xHn7.96511@fx14.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: dont-email.me; posting-host="8e6876f3e46194a45503e9d93596105d"; logging-data="2754882"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Cncxe0rmSMNYAwpqcqryJ9x2tgICnYzg=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:6tEpLCF5PQebOXRrScaMgRyyPxY= sha1:wjaSWauXPSs8zmSnYmzonaOT8xk= Xref: csiph.com comp.lang.c:383265 porkchop@invalid.foo (Mike Sanders) writes: > Scott Lurndal wrote: > >> That must not have been for 2024, or you have a bug. > > Well Scott, in the code of the link posted its displaying 2022: > > int year = 2022; > >> A calendar utility comes with most linux systems. It also supports >> ISO 8601 which starts the week on Monday instead of Sunday. > > Yes sir, I know that. But I want to build my own instead so I can > learn more about it. Even if that means reiventing the wheel, at > least I'll learn it as I wish. Hoping not to sound contrite, > cant we all just help each other learn? Darn man. If you want to reinvent wheels, I suggest looking for some rather more interesting wheels.