[ILUG] julian dates...

David Neary dneary at informix.com
Wed Sep 27 18:43:53 IST 2000


Hi again,

Sorry, I messed this up a bit...

David Neary wrote:
> 
> ascftime(& datestring, "%D", timestruct);

should be
  ascftime(datestring, "%D", &timestruct);
and is better (for buffer overflow reasons) as
  strftime(datestring, 50, "%d", &timestruct);

Dave.

-- 
		Dave Neary,
	Software engineer, Informix Dublin.
		Ireland.
	Phone: +353-1-409-1357




More information about the ILUG mailing list