Lines Matching defs:timearg
412 getoffset(char *timearg)
421 if (!strcasecmp(timearg, "now")) { /* now */
427 if (*timearg == '+') { /* +minutes */
428 if (!isdigit(*++timearg))
430 if ((offset = atoi(timearg) * 60) < 0)
437 for (p = timearg; *p; ++p)
451 switch(strlen(timearg)) {
454 lt->tm_year = ATOI2(timearg);
466 lt->tm_mon = ATOI2(timearg);
471 lt->tm_mday = ATOI2(timearg);
476 lt->tm_hour = ATOI2(timearg);
479 lt->tm_min = ATOI2(timearg);