Home
last modified time | relevance | path

Searched refs:tm_mon (Results 1 – 25 of 53) sorted by relevance

123

/original-bsd/lib/libc/string/
H A Dstrftime.c82 if (t->tm_mon < 0 || t->tm_mon > 11)
84 if (!_add(Bfmt[t->tm_mon]))
89 if (t->tm_mon < 0 || t->tm_mon > 11)
91 if (!_add(bfmt[t->tm_mon]))
141 if (!_conv(t->tm_mon + 1, 2, '0'))
/original-bsd/usr.bin/uucp/
H A Dassert.c40 fprintf(errlog, "(%d/%d-%2.2d:%2.2d) ", tp->tm_mon + 1,
44 fprintf(errlog, "(%d/%d-%02d:%02d) ", tp->tm_mon + 1,
/original-bsd/bin/date/
H A Ddate.c152 lt->tm_mon = ATOI2(p);
153 if (lt->tm_mon > 12)
155 --lt->tm_mon; /* time struct is 0 - 11 */
/original-bsd/old/dump.4.1/
H A Dunctime.c42 if ( (then.tm_mon = lookup(&dbuf[E_MONTH])) < 0)
110 DECIDE(tm_mon);
/original-bsd/usr.bin/touch/
H A Dtouch.c198 t->tm_mon = ATOI2(arg);
199 --t->tm_mon; /* Convert from 01-12 to 00-11 */
228 t->tm_mon = ATOI2(arg); /* MMDDhhmm[yy] */
229 --t->tm_mon; /* Convert from 01-12 to 00-11 */
/original-bsd/usr.bin/uucp/libuu/
H A Dlogent.c98 User, Rmtname, tp->tm_mon + 1, tp->tm_mday,
110 fprintf(stderr, "(%d/%d-%2.2d:%2.2d-%d) ", tp->tm_mon + 1,
113 fprintf(stderr, "(%d/%d-%02d:%02d-%d) ", tp->tm_mon + 1,
H A Dgnxseq.c78 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
83 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
/original-bsd/usr.bin/f77/libU77/
H A Didate_.c34 iar->imon = lclt->tm_mon + 1;
/original-bsd/usr.bin/pascal/pxp/
H A Dversion.c37 major, minor, tmp->tm_mon+1, tmp->tm_mday, tmp->tm_year); in main()
/original-bsd/old/dbx/
H A Dmkdate.c35 printf("%d/%d/%d ", t->tm_mon + 1, t->tm_mday, t->tm_year % 100); in main()
/original-bsd/sys/luna68k/luna68k/
H A Dclock.c160 bbc2->cal_mon = tmptr->tm_mon; in resettodr()
171 bbc->cal_mon = binary_to_bcd(tmptr->tm_mon); in resettodr()
206 rt.tm_mon = i;
H A Dclockreg.h37 int tm_mon; member
/original-bsd/local/kerberosIV/kdb_edit/
H A Dkdb_edit.c236 tp->tm_mon + 1, tp->tm_mday); /* January is 0, not 1 */ in change_principal()
352 &edate.tm_mon, &edate.tm_mday) != 3) in change_principal()
355 edate.tm_mon--; /* January is 0, not 1 */ in change_principal()
506 atm->tm_mon = TMNULL;
/original-bsd/libexec/getty/
H A Dget_date.c57 months[tmp->tm_mon],
/original-bsd/lib/libc/gen/
H A Dctime.c1105 for (tmp->tm_mon = 0; days >= (long) ip[tmp->tm_mon]; ++(tmp->tm_mon))
1106 days = days - (long) ip[tmp->tm_mon];
1131 mon_name[timeptr->tm_mon],
1181 (result = (atmp->tm_mon - btmp->tm_mon)) == 0 &&
1211 normalize(&yourtm.tm_year, &yourtm.tm_mon, MONSPERYEAR);
1224 TM_YEAR_BASE)][yourtm.tm_mon];
1228 if (++yourtm.tm_mon >= MONSPERYEAR) {
1229 yourtm.tm_mon = 0;
/original-bsd/sbin/dump/
H A Dunctime.c56 if ((then.tm_mon = lookup(&dbuf[E_MONTH])) < 0)
/original-bsd/include/
H A Dtime.h44 int tm_mon; /* months since January [0-11] */ member
/original-bsd/contrib/dungeon/
H A Drtim.c56 date[1] = t->tm_mon + 1;
/original-bsd/sbin/shutdown/
H A Dshutdown.c380 lt->tm_mon = ATOI2(timearg);
381 if (--lt->tm_mon < 0 || lt->tm_mon > 11)
/original-bsd/games/rogue/
H A Dmachdep.c281 rt_buf->month = t->tm_mon + 1;
317 rt_buf->month = t->tm_mon + 1;
/original-bsd/sys/hp300/hp300/
H A Dclockreg.h80 int tm_mon; member
H A Dclock.c286 decimal_to_bbc(9, 10, tmptr->tm_mon); in resettodr()
328 rt.tm_mon = i;
/original-bsd/usr.bin/chpass/
H A Dutil.c42 (void)sprintf(tbuf, "%s %d, %d", months[tp->tm_mon],
/original-bsd/usr.bin/calendar/
H A Dcalendar.c184 month = tp->tm_mon + 1;
227 return (tp->tm_mon + 1);
/original-bsd/usr.sbin/cron/
H A Dcron.c132 loct->tm_mon++; /* 1-12 for month */
140 cp = cmp(cp, loct->tm_mon);

123