Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon3.gif   Server derived time, posted by Grant Jeffcote on Thu Oct 23 10:21:06 2008 
    icon2.gif   Re: Server derived time, posted by Stefan Ritt on Thu Oct 30 03:30:59 2008 
       icon14.gif   Re: Server derived time, posted by Grant Jeffcote on Thu Oct 30 08:39:34 2008 
          icon2.gif   Re: Server derived time, posted by Stefan Ritt on Mon Nov 3 13:15:52 2008 
Message ID: 66027     Entry time: Thu Oct 30 08:39:34 2008     In reply to: 66023     Reply to this: 66032
Icon: Agree  Author: Grant Jeffcote  Author Email: grant@jeffcote.org 
Category: Question  OS: Windows  ELOG Version: 2.7.5 
Subject: Re: Server derived time 

Stefan Ritt wrote:

 

Grant Jeffcote wrote:

Hi Stefan,

Is it possible to derive the time in a 'date/time' attribute from the Elog server?
We would like all our entries in GMT/UTC time and unfortunately as the time is currently derived from the client machines there are often entry descrepancies if the regional settings are not set correctly.

The '$entry time' variable can be used but seems to put a 1970 date in the field so bears no relevancy to an 'Event' time?

I'm also having issues with conditional entries in the Find page. If a conditional statement is used to hide attributes or change displayed attributes in the entry page then the attribute that is used in the conditional statement is not permanently selectable in the 'Find' page. It is available as a choice but as soon as selected the conditional action removes it? Is it possible to make conditional options/actions in the 'Find' page optional?

Hope that makes a little sense?

Many thanks

 

There are several methods to get the server time:

 

Via presets of attributes

Attributes = Author, Event time, ...
Preset Event time = $utcdate

which gives you actually the UTC time.

 

Via the editor

The editor toolbar contains a little clock. If you click on it, you insert the current server time (but localized, not UTC).

 

Hope one of the two methods work for you.

The problem with the conditional attributes in the find page is I believe fixed in the current version.

Thanks Stefan, the preset UTC date works well. RTFM on my part perhaps.

I'm running version 2.7.5.2127 and am still having the issue with conditional attributes in the find area as mentioned above though.
Is it the latest SVN  **.2135 that addresses this?

Many thanks

ELOG V3.1.5-2eba886