* Eric <[EMAIL PROTECTED]> [2002-10-09 13:19]:
> However, it's giving me very long date and time fields. How can I
> just get something like:
>
> 10/09/02 10:15
>
> or 10/09 1:15. Something short and concise.
From the manual, section 6.3.84:
%d date and time of the message in the format specified by
``date_format'' converted to sender's time zone
%D date and time of the message in the format specified by
``date_format'' converted to the local time zone
Set date_format to something short.
Another option are the %{}, %(), %<>, and %[] formats:
%{fmt}
the date and time of the message is converted to sender's time
zone, and ``fmt'' is expanded by the library function
``strftime''; a leading bang disables locales
%[fmt]
the date and time of the message is converted to the local time
zone, and ``fmt'' is expanded by the library function
``strftime''; a leading bang disables locales
%(fmt)
the local date and time when the message was received. ``fmt''
is expanded by the library function ``strftime''; a leading bang
disables locales
%<fmt>
the current local time. ``fmt'' is expanded by the library
function ``strftime''; a leading bang disables locales.
(darren)
--
One cannot make an omelette without breaking eggs -- but it is amazing
how many eggs one can break without making a decent omelette.
-- Professor Charles P. Issawi