9dd3dae9bff271b8972c6397afc44ae305a664b9
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* return date in numerical form
* iarray will receive the current date; day, mon, year.
struct { long iday
; long imon
; long iyer
; } *iar
;
struct tm
*localtime(), *lclt
;
iar
->iday
= lclt
->tm_mday
;
iar
->imon
= lclt
->tm_mon
+ 1;
iar
->iyer
= lclt
->tm_year
+ 1900;