Message-ID: <361788F0.A5FAC89B@montana.com> Date: Sun, 04 Oct 1998 08:40:48 -0600 From: bowman Reply-To: bowman AT montana DOT com X-Mailer: Mozilla 4.5b2 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: "djgpp AT delorie DOT com" Subject: Re: newbie: strftime References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Eli Zaretskii wrote: > > strftime(buf, 100, "%B %d, %Y", &t); > This passes a "struct tm **" to `strftime' whereas it expects a > "struct tm *", so it also fails. Most definitely. I should have compiled and tested the snippet. When I edited the original, I missed the '&' operator. Embarrassing, after noting the return value of localtime. thanks for the correction, Eli.