docs.roxen.comBack to normal mode
DocsRoxenWebServer 4.5Web Developer ManualIf Tags
Copyright © 2012, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<if time></if>

Provided by module: Tags: RXML 2 tags

Is the time hhmm, hh:mm, yyyy-mm-dd or yyyy-mm-ddThh:mm? The attributes before, after, inclusive and until modifies the behavior. This is a Utils plugin.


Attributes

time="{hhmm, yyyy-mm-dd, yyyy-mm-ddThh:mm}"

Choose what time to test.


after

The time after present time.


before

The time before present time.


until="{hhmm, yyyy-mm-dd, yyyy-mm-ddThh:mm}"

Gives true for the time range between present time and the time value of 'until'.


inclusive

Adds present time to after and before.


  <if time='1200' before='' inclusive=''>
    ante meridiem
  </if>
  <else>
    post meridiem
  </else>