Timothy A. Napthali <[EMAIL PROTECTED]> wrote:

> It should be safe. All my mail servers run GMT to prevent log confusion
> (ie: It's a given that any log time is always GMT). 

Be very, very careful.

$ export TZ=right/GMT
$ date -r $((915148821      )) +%Y%m%d            
19981231
$ date -r $((915148821-86400)) +%Y%m%d
19981231

There is probably a Perl module around that can handle this sort
of calculation in a more robust manner.

-- 
Christian "naddy" Weisgerber                          [EMAIL PROTECTED]

Reply via email to