#Lost at C (Again!)
17-Mar-87 18:42:49
Sb: #59307-#Lost at C (Again!)
Fm: Roy S. Laufer 72435,1025
To: Richard Rae/SYSOP 76703,4253
Hi Rae,
Let me see if I can make the following make sense!:
long *tloc,*clock;
struct tm *timevalue,*localtime();
.
clock = (long *)time(tloc);
timevalue = (struct tm *)localtime(&clock);
printf("This is the %dth month in the year.\n",timevalue->tm_mon);
.
etc.
.
I hope that this doesn't get reformatted into obscurity! If you're
confused feel free to shout!
-RSL-