---
title: "Is there a way to show the time when client login the Active Console?"
description: "Showing the client login time in Active Console requires calculating the connection duration using a rule. This is done by applying a gateway connection plugin and converting epoch time to a readable format."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004021185-geneos-is-there-a-way-to-show-the-time-when-client-login-the-active-console/index.html"
---
**![Screenshot](https://docscdn.itrsgroup.com/faq/images/geneos/115004021185-inline-1-mceclip0.png)**

The value is produced by a rule which calculates the difference between a now function and the connection's duration value, then converted from epoch time to a human-readable time format.  Please see below XML:  GWClients sampler:

```
<sampler name="GWClients">  <plugin>  <Gateway-clientConnectionData></Gateway-clientConnectionData>  </plugin>  <dataviews>  <dataview name="GWClients">  <description></description>  <displayName>loginTime</displayName>  <additions>  <var-columns>  <data>  <column>  <data>loginTime</data>  </column>  </data>  </var-columns>  </additions>  </dataview>  </dataviews> </sampler>
```

LoginTimes Rule for populating the Time of login:

```
<rule name="LoginTimes">  <targets>  <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;GWClients&quot;)][(@type=&quot;&quot;)]/dataview[(@name=&quot;GWClients&quot;)]/rows/row/cell[(@column=&quot;loginTime&quot;)]</target>  </targets>  <priority>1</priority>  <pathAliases>  <pathAlias name="DurVar">../cell[(@column=&quot;duration&quot;)]</pathAlias>  </pathAliases>  <evaluateOnDataviewSample>true</evaluateOnDataviewSample>  <block>  <transaction>  <update>  <property>@value</property>  <printDate>  <string>%Y %b %d %H:%M:%S</string>  <subtract>  <now></now>  <multiply>  <dataItem>  <pathAlias ref="DurVar"></pathAlias>  <property>@value</property>  </dataItem>  <integer>60</integer>  </multiply>  </subtract>  </printDate>  </update>  </transaction>  </block> </rule>
```

You will need to use the gateway connection plugin, and a rule, to achieve this.


