• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Message "Hello" Message "good nights"

#1
<xen:if is="{xen:time $serverTime, 'G:i'} >= '06:40' AND {xen:time $serverTime, 'G:i'} < '17:00'">
<div class="bonjour">
<center><p><span style="text-shadow: 1px 1px rgba(0, 0, 0, 0.1); font-size: 14px;"><b><i class="fa fa-smile-o fa-lg"></i> Bonjour</span>, {xen:helper username, $visitor, 'NoOverlay'}</b></p></center>
</div>
</xen:if>
<xen:if is="{xen:time $serverTime, 'G:i'} >= '17:00' AND {xen:time $serverTime, 'G:i'} < '06:40'">
<div class="bonjour">
<p><span style="text-shadow: 1px 1px rgba(0, 0, 0, 0.1); font-size: 13px;"><b><i class="fa fa-smile-o fa-lg"></i> Bonsoir</span>, {xen:helper username, $visitor, 'NoOverlay'}</b></p>
</div>
</xen:if>
I want to display the first message from 06:30 until 18:00 and from 18:00 to deuxiemme 6:30.
It's time for Central Europe;)