tmnow            3109 src/simh/scp.c struct tm *tmnow;
tmnow            3112 src/simh/scp.c tmnow = localtime(&now);
tmnow            3186 src/simh/scp.c                                        tmnow->tm_year + 1900,
tmnow            3187 src/simh/scp.c                                        tmnow->tm_mon  + 1,
tmnow            3188 src/simh/scp.c                                        tmnow->tm_mday);
tmnow            3193 src/simh/scp.c                                        tmnow->tm_hour,
tmnow            3194 src/simh/scp.c                                        tmnow->tm_min,
tmnow            3195 src/simh/scp.c                                        tmnow->tm_sec);
tmnow            3200 src/simh/scp.c                                        tmnow->tm_year + 1900,
tmnow            3201 src/simh/scp.c                                        tmnow->tm_mon  + 1,
tmnow            3202 src/simh/scp.c                                        tmnow->tm_mday,
tmnow            3203 src/simh/scp.c                                        tmnow->tm_hour,
tmnow            3204 src/simh/scp.c                                        tmnow->tm_min,
tmnow            3205 src/simh/scp.c                                        tmnow->tm_sec);
tmnow            3210 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%x", tmnow);
tmnow            3214 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%I:%M:%S %p", tmnow);
tmnow            3218 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%c", tmnow);
tmnow            3223 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%Y", tmnow);
tmnow            3227 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%y", tmnow);
tmnow            3231 src/simh/scp.c                         (void)sprintf (rbuf, "%d", (tmnow->tm_year + 1900)/100);
tmnow            3236 src/simh/scp.c                         int year = tmnow->tm_year + 1900;
tmnow            3252 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%m", tmnow);
tmnow            3256 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%b", tmnow);
tmnow            3260 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%d", tmnow);
tmnow            3264 src/simh/scp.c                         (void)sprintf (rbuf, "%d", (tmnow->tm_wday ? tmnow->tm_wday : 7));
tmnow            3269 src/simh/scp.c                         int iso_yr = tmnow->tm_year + 1900;
tmnow            3270 src/simh/scp.c                         int iso_wk = (tmnow->tm_yday + 11 - (tmnow->tm_wday ? tmnow->tm_wday : 7))/7;;
tmnow            3274 src/simh/scp.c                             tmnow->tm_yday += 365 + (((iso_yr % 4) == 0) ? 1 : 0);  /* Adjust for Leap Year (Correct thru 2099) */
tmnow            3275 src/simh/scp.c                             iso_wk = (tmnow->tm_yday + 11 - (tmnow->tm_wday ? tmnow->tm_wday : 7))/7;
tmnow            3278 src/simh/scp.c                             if ((iso_wk == 53) && (((31 - tmnow->tm_mday) + tmnow->tm_wday) < 4)) {
tmnow            3289 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%j", tmnow);
tmnow            3293 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%H", tmnow);
tmnow            3297 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%M", tmnow);
tmnow            3301 src/simh/scp.c                         strftime (rbuf, sizeof(rbuf), "%S", tmnow);