[ILUG] julian dates...
dneary at informix.com
Wed Sep 27 17:43:11 IST 2000
libc solution would be to declare a tm struct, get your (Julian) date
into it, then use strftime() or asctime() to convert that to the format
struct tm timestruct;
ascftime(& datestring, "%D", timestruct);
fprintf(stdout, "%s", datestring);
would do the job.
kevin lyda wrote:
> so, using either a libc function or a perl function, how would one
> extract a date (day of month, month, year) from a julian date
> (year, day of year)?
Software engineer, Informix Dublin.
More information about the ILUG