HelenOS sources
APPEND 822 uspace/lib/c/generic/time.c APPEND("%c", *format);
APPEND 845 uspace/lib/c/generic/time.c APPEND("%s", wday_abbr[tm->tm_wday]);
APPEND 848 uspace/lib/c/generic/time.c APPEND("%s", wday[tm->tm_wday]);
APPEND 851 uspace/lib/c/generic/time.c APPEND("%s", mon_abbr[tm->tm_mon]);
APPEND 854 uspace/lib/c/generic/time.c APPEND("%s", mon[tm->tm_mon]);
APPEND 861 uspace/lib/c/generic/time.c APPEND("%02d", (1900 + tm->tm_year) / 100);
APPEND 864 uspace/lib/c/generic/time.c APPEND("%02d", tm->tm_mday);
APPEND 870 uspace/lib/c/generic/time.c APPEND("%2d", tm->tm_mday);
APPEND 876 uspace/lib/c/generic/time.c APPEND("%02d", wbyear(tm) % 100);
APPEND 879 uspace/lib/c/generic/time.c APPEND("%d", wbyear(tm));
APPEND 885 uspace/lib/c/generic/time.c APPEND("%02d", tm->tm_hour);
APPEND 888 uspace/lib/c/generic/time.c APPEND("%02d", TO_12H(tm->tm_hour));
APPEND 891 uspace/lib/c/generic/time.c APPEND("%03d", tm->tm_yday);
APPEND 894 uspace/lib/c/generic/time.c APPEND("%2d", tm->tm_hour);
APPEND 897 uspace/lib/c/generic/time.c APPEND("%2d", TO_12H(tm->tm_hour));
APPEND 900 uspace/lib/c/generic/time.c APPEND("%02d", tm->tm_mon);
APPEND 903 uspace/lib/c/generic/time.c APPEND("%02d", tm->tm_min);
APPEND 906 uspace/lib/c/generic/time.c APPEND("\n");
APPEND 909 uspace/lib/c/generic/time.c APPEND("%s", tm->tm_hour < 12 ? "AM" : "PM");
APPEND 912 uspace/lib/c/generic/time.c APPEND("%s", tm->tm_hour < 12 ? "am" : "PM");
APPEND 921 uspace/lib/c/generic/time.c APPEND("%lld", secs_since_epoch(tm));
APPEND 924 uspace/lib/c/generic/time.c APPEND("%02d", tm->tm_sec);
APPEND 927 uspace/lib/c/generic/time.c APPEND("\t");
APPEND 933 uspace/lib/c/generic/time.c APPEND("%d", (tm->tm_wday == 0) ? 7 : tm->tm_wday);
APPEND 936 uspace/lib/c/generic/time.c APPEND("%02d", sun_week_number(tm));
APPEND 939 uspace/lib/c/generic/time.c APPEND("%02d", iso_week_number(tm));
APPEND 942 uspace/lib/c/generic/time.c APPEND("%d", tm->tm_wday);
APPEND 945 uspace/lib/c/generic/time.c APPEND("%02d", mon_week_number(tm));
APPEND 956 uspace/lib/c/generic/time.c APPEND("%02d", tm->tm_year % 100);
APPEND 959 uspace/lib/c/generic/time.c APPEND("%d", 1900 + tm->tm_year);
APPEND 968 uspace/lib/c/generic/time.c APPEND("%%");
APPEND 975 uspace/lib/c/generic/time.c APPEND("%%");
HelenOS homepage, sources at GitHub