Lines Matching refs:PRINTK
84 PRINTK("date: invalid option or parameter.\n");
85 PRINTK("Try 'date --help' for more information.\n");
88 PRINTK("\nUsage: date [+FORMAT]\n");
89 PRINTK(" or: date [-s] [YY/MM/DD] [hh:mm:ss]\n");
90 PRINTK("Display the current time in the given FORMAT, or set the system date.\n");
91 PRINTK("FORMAT controls the output. Interpreted sequences are:\n");
92 PRINTK(" %%b The abbreviated month name according to the current locale.\n");
93 PRINTK(" %%B The full month name according to the current locale.\n");
94 PRINTK(" %%C The century number (year/100) as a 2-digit integer. (SU)\n");
95 PRINTK(" %%d The day of the month as a decimal number (range 01 to 31).\n");
96 PRINTK(" %%e Like %%d, the day of the month as a decimal number, \n");
97 PRINTK(" but a leading zero is replaced by a space.\n");
98 PRINTK(" %%h Equivalent to %%b. (SU)\n");
99 PRINTK(" %%H The hour as a decimal number using a 24-hour clock (range 00 to 23).\n");
100 PRINTK(" %%I The hour as a decimal number using a 12-hour clock (range 01 to 12).\n");
101 PRINTK(" %%j The day of the year as a decimal number (range 001 to 366).\n");
102 PRINTK(" %%k The hour (24-hour clock) as a decimal number (range 0 to 23); \n");
103 PRINTK(" single digits are preceded by a blank. (See also %H.) (TZ)\n");
104 PRINTK(" %%l The hour (12-hour clock) as a decimal number (range 1 to 12); \n");
105 PRINTK(" single digits are preceded by a blank. (See also %I.) (TZ)\n");
106 PRINTK(" %%m The month as a decimal number (range 01 to 12).\n");
107 PRINTK(" %%M The minute as a decimal number (range 00 to 59).\n");
108 PRINTK(" %%n A newline character. (SU)\n");
109 PRINTK(" %%p Either \"AM\" or \"PM\" according to the given time value, \n");
110 PRINTK(" or the corresponding strings for the current locale.\n");
111 PRINTK(" Noon is treated as \"PM\" and midnight as \"AM\".\n");
112 PRINTK(" %%P Like %%p but in lowercase: \"am\" or \"pm\" \n");
113 PRINTK(" or a corresponding string for the current locale. (GNU)\n");
114 PRINTK(" %%s The number of seconds since the Epoch, that is,\n");
115 PRINTK(" since 1970-01-01 00:00:00 UTC. (TZ)\n");
116 PRINTK(" %%S The second as a decimal number (range 00 to 60).\n");
117 PRINTK(" (The range is up to 60 to allow for occasional leap seconds.)\n");
118 PRINTK(" %%t A tab character. (SU)\n");
119 PRINTK(" %%y The year as a decimal number without a century (range 00 to 99).\n");
120 PRINTK(" %%Y The year as a decimal number including the century.\n");
121 PRINTK(" %%%% A literal '%%' character.\n");
122 PRINTK("\nExamples:\n");
123 PRINTK("Set system date (2017-01-01)\n");
124 PRINTK("$ date -s 20170101\n");
125 PRINTK("Set system time (12:00:00)\n");
126 PRINTK("$ date -s 12:00:00\n");
127 PRINTK("Show the time with format Year-Month-Day\n");
128 PRINTK("$ date +%%Y-%%m-%%d\n");
156 PRINTK("\nUsage: date -s set system time starting from 1970.\n");
190 PRINTK("%s\n", timebuf);
205 PRINTK("Setting time failed...\n");
220 PRINTK("setting time failed...\n");
249 PRINTK("%s\n", ctime_r(&(statBuf.st_mtim.tv_sec), buf));
263 PRINTK("%s\n", ctime64(&nowTime.tv_sec));