Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Contributions to ELOG  Not logged in ELOG logo
Entry   Server time offset, posted by Bruce Weber on Mon Jan 7 08:45:10 2013 
    Reply   Re: Server time offset, posted by Stefan Ritt on Mon Jan 7 16:37:21 2013 
Message ID: 41     Entry time: Mon Jan 7 16:37:21 2013     In reply to: 40
Author: Stefan Ritt 
Author Email: stefan.ritt@psi.ch 
Category: Script 
Subject: Re: Server time offset 
Status: Stable 
Last Revision:  

Bruce Weber wrote:

Our server runs on local time, however, we require log entries to be in UTC (-0800hrs) - is there a command to achieve this?

Your assistance will be much appreciated

Thanks

Have you tried

 

Subst <attribute> = $utcdate

 

Probably you need a dedicated attribute of type "datetime" and have to play with the "Date format" options.

ELOG V3.1.5-fe60aaf