|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Dmitry Pryanishnikov 2:464/36 13 Jun 2006 16:51:07 To : Kondratiev Andrey Subject : =?koi8-u?B?UmU6IPrB0NXT1MnU2CDQzyDL0s/O1SDLwdbE2cUgMiDOxcTFzMkg08vSyQ== --------------------------------------------------------------------------------
=?koi8-u?B?UmU6IPrB0NXT1MnU2CDQzyDL0s/O1SDLwdbE2cUgMiDOxcTFzMkg08vSyQ==?=
=?koi8-u?B?0NQg1yDT1cLCz9TVIM7P3tjALCDLwcsgPw==?=
Привет!
On Tue, 13 Jun 2006, Kondratiev Andrey wrote:
> странно man 1 date /%V ничего не находит
manы часто ссылаются на другие manы, эти ссылки даже специально перечисляются
в разделе "SEE ALSO":
dmitry@atlantis$ man 1 date
DATE(1) FreeBSD General Commands Manual DATE(1)
...
An operand with a leading plus (`+') sign signals a user-defined format
string which specifies the format in which to display the date and time.
The format string may contain any of the conversion specifications
described in the strftime(3) manual page, as well as any arbitrary text.
----------------------^^^^^^^^^^^
...
SEE ALSO
gettimeofday(2), strftime(3), strptime(3), utmp(5), timed(8)
----------------------^^^^^^^^^^^
А уже в описании strftime читаем:
%U is replaced by the week number of the year (Sunday as the first day
of the week) as a decimal number (00-53).
...
%V is replaced by the week number of the year (Monday as the first day
of the week) as a decimal number (01-53). If the week containing
January 1 has four or more days in the new year, then it is week 1;
otherwise it is the last week of the previous year, and the next
week is week 1.
Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail: dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE
--- ifmail v.2.14.os-p7
* Origin: Atlantis ISP (2:464/36@fidonet)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/2452192257b6b.html, оценка из 5, голосов 10
|