This is the mail archive of the
mailing list for the Cygwin project.
- From: Tod <listacctc at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 15 Jun 2011 13:23:05 -0400
- Subject: Re: localtime
- References: <4DF8CF3D.firstname.lastname@example.org>
On 06/15/2011 11:26 AM, Tod wrote:
Has anything change in regards to the C localtime function since 2007?
I've got a program with a function that uses it to present the date and
time that I just changed. The time isn't appearing only the date.
No errors, no dumps, just no time. Most bizarre.
TIA - Tod
Incidentally, here's how I'm valuing the time. Worked with the 2007
version of cygwin1.dll (not that I'm blaming cygwin):
char * getTime(char *tout)
struct tm tim;
now = time(NULL);
tim = *(localtime(&now));
tout is a 128 byte character array.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple