Home
last modified time | relevance | path

Searched refs:mday (Results 1 – 11 of 11) sorted by relevance

/freebsd/usr.bin/at/
H A Dparsetime.c428 assign_date(struct tm *tm, long mday, long mon, long year) in assign_date() argument
456 (tm->tm_mon > mon ||(tm->tm_mon == mon && tm->tm_mday > mday))) in assign_date()
459 tm->tm_mday = mday; in assign_date()
480 long mday = 0, wday, mon; in month() local
505 mday = atol(sc_token); in month()
510 assign_date(tm, mday, mon, year); in month()
520 mday = tm->tm_mday; in month()
525 mday += 7 - (tm->tm_wday - wday); in month()
527 mday += (wday - tm->tm_wday); in month()
531 assign_date(tm, mday, tm->tm_mon, tm->tm_year); in month()
[all …]
/freebsd/contrib/dialog/
H A Dcalendar.c376 int mday; in draw_day() local
400 mday = ((6 + current->tm_mday - in draw_day()
403 if (mday <= -MAX_DAYS) in draw_day()
404 mday += MAX_DAYS; in draw_day()
410 week = (current->tm_yday + 6 + mday - current->tm_mday) / MAX_DAYS; in draw_day()
413 for (y = 1; mday < last; y++) { in draw_day()
422 ++mday; in draw_day()
426 if (mday == day) { in draw_day()
431 if (mday > 0) { in draw_day()
432 if (mday <= last) { in draw_day()
[all …]
/freebsd/contrib/ntp/scripts/build/
H A DupdateBEDate26 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
39 printf { $OFILE } "%s-%s-%s %02d:%02d", $mday,$m_abbr[$mon],$year,$hour,$min;
/freebsd/tools/tools/netrate/tcpp/
H A Drunit.pl12 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
15 $date = sprintf("%04d%02d%02d", $year, $mon, $mday);
/freebsd/secure/caroot/
H A DMAca-bundle.pl160 my ($year, $mon, $mday, $hour, $min, $sec) = unpack "A2A2A2A2A2A2", $distrust_after;
161 $distrust_after = timegm_posix( $sec, $min, $hour, $mday, $mon - 1, $year + 100);
/freebsd/usr.sbin/cron/cron/
H A Dcrontab7 #minute hour mday month wday who command
/freebsd/contrib/ntp/scripts/monitoring/
H A Dntploopwatch1500 local($sec,$min,$hour,$mday,$mon,$year)
1557 $mday = $1;
1640 $mday = 1 if $last > $[ + 3;
1642 local($rtime) = &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 0);
1648 &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 1)
/freebsd/contrib/ntp/libparse/
H A Ddata_mbg.c142 tmp->mday = *(*buffpp)++; in get_mbg_tm()
268 tmp->year, tmp->month, tmp->mday, in mbg_tm_str()
/freebsd/contrib/sendmail/contrib/
H A Dmmuegel338 X '%d', q|$rep = &date'pad($mday, 2, "0")|, # day of month - 01 to 31
340 X '%e', q|$rep = &date'pad($mday, 2, " ")|, # day of month (space padded) ` 1' to `31'
341 X '%E', q|$rep = &date'dsuf($mday)|, # day of month (w/suffix) `1st' to `31st'
376 X local($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst);
388 X ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
430 X local ($mday) = @_;
432 X return $mday . 'st' if ($mday =~ m/.*1$/);
433 X return $mday . 'nd' if ($mday =~ m/.*2$/);
434 X return $mday . 'rd' if ($mday =~ m/.*3$/);
435 X return $mday . 'th';
/freebsd/contrib/ntp/include/
H A Dmbg_gps166.h407 int8_t mday; ///< day of month, 1..31 member
/freebsd/contrib/libpcap/
H A DCHANGES1573 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).