|
|
ru.unix- RU.UNIX ---------------------------------------------------------------------- From : Alexey M. Nabootoff 2:5020/400 03 Mar 2005 15:04:20 To : Alexander Titaev Subject : Re: start_time --------------------------------------------------------------------------------
Hi, Alexander!
AT>lust#date -j -r 1109840860
AT>четверг, 3 марта 2005 г. 17:07:40 (IRKT)
AT>lust#date
AT>четверг, 3 марта 2005 г. 17:20:35 (IRKT)
AT>lust#
И что ты этим хочешь сказать? Первый раз ты посмотрел какое время
соответствует 1109840860 секундам, а второй раз увидел текущее время.
Timestamp в записи радиуса вполне совпадает с местным временем этой же
записи. Что тебя не устраивает?
When invoked without arguments, the date utility displays the current
date and time. Otherwise, depending on the options specified, date will
set the date and time or print it in a user-defined way.
-r seconds
Print the date and time represented by seconds, where seconds is
the number of seconds since the Epoch (00:00:00 UTC, January 1,
1970; see time(3)), and can be specified in decimal, octal, or
hex.
-j Do not try to set the date. This allows you to use the -f flag
in addition to the + option to convert one date format to
another.
WBR.
Alexey Nabootoff.
--- ifmail v.2.15dev5.3
* Origin: Unknown (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix/7937f19a79a8.html, оценка из 5, голосов 10
|