Re: [Clamav-users] cvd timestamps question

2005-10-21 Thread Luca Gibelli

Hello Brian Morrison,

  What is the time zone of the timestamps in main.cvd
  and daily.cvd ?
 I would expect them to be GMT, unless someone else knows differently.

head -c 512 daily.cvd 


Best regards

-- 
Luca Gibelli (luca at clamav.net) - ClamAV, a GPL virus scanner
PGP Key Fingerprint: C782 121E 8C3A 90E3 7A87  D802 6277 8FF4 5EFC 5582
PGP Key Available on: Key Servers || http://www.clamav.net/gpg/luca.gpg
___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] cvd timestamps question

2005-10-20 Thread Joanna Roman


--- [EMAIL PROTECTED] wrote:

 Joanna Roman wrote:
  What is the time zone of the timestamps in
 main.cvd
  and daily.cvd ?
 
 I believe timestamps are stored internally in
 seconds-since-the-epoch.  So whatever your ls -l
 command says in your time zone, that's the correct
 time.
 
 -- 
 Matthew.van.Eerde (at) hbinc.com  
 805.964.4554 x902
 Hispanic Business Inc./HireDiversity.com  
 Software Engineer
 ___
 http://lurker.clamav.net/list/clamav-users.html
 

No, I believe you are incorrect. I am talking about
the timestamp stored in each main.cvd and daily.cvd's
header. That has nothing to do with the ls -l command.




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] cvd timestamps question

2005-10-20 Thread Todd Lyons
Joanna Roman wanted us to know:

 I believe timestamps are stored internally in
 seconds-since-the-epoch.  So whatever your ls -l
 command says in your time zone, that's the correct
 time.
No, I believe you are incorrect. I am talking about
the timestamp stored in each main.cvd and daily.cvd's
header. That has nothing to do with the ls -l command.

The ls -l shows the current time in GMT plus or minus your time zone
setting.  Of course, all you see is the local time.  What he's saying is
that the timestamp in the file is the seconds since the epoch, and the
epoch for you is adjusted from GMT according to what time zone setting
you have configured.  The epoch, BTW, is Jan 1, 1970, 12:00 AM.
-- 
Regards...  Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.   --Benjamin Franklin
Linux kernel 2.6.12-12mdksmp   4 users,  load average: 1.62, 1.87, 1.48
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] cvd timestamps question

2005-10-19 Thread Brian Morrison
On Wed, 19 Oct 2005 10:16:11 -0700 (PDT) in
[EMAIL PROTECTED] Joanna Roman
[EMAIL PROTECTED] wrote:

 What is the time zone of the timestamps in main.cvd
 and daily.cvd ?

I would expect them to be GMT, unless someone else knows differently.

-- 

Brian Morrison

bdm at fenrir dot org dot uk

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] cvd timestamps question

2005-10-19 Thread Matthew.van.Eerde
Joanna Roman wrote:
 What is the time zone of the timestamps in main.cvd
 and daily.cvd ?

I believe timestamps are stored internally in seconds-since-the-epoch.  So 
whatever your ls -l command says in your time zone, that's the correct time.

-- 
Matthew.van.Eerde (at) hbinc.com   805.964.4554 x902
Hispanic Business Inc./HireDiversity.com   Software Engineer
___
http://lurker.clamav.net/list/clamav-users.html