until tag
This tag evaluates for start and end expressions as dates, optionally with a pattern to help parse the dates. It then compares the date or dates with the current date to determin if the content within this tag should be processed. If end is greater than now and now is greater than start, the content is processed.
Attribute |
Notes |
start
|
|
end
|
Required
|
pattern
|
|
Sample:
<c:until start="5/1/2023" end="5/31/2023">This special begins on May 1st and is good through the 31st.</c:until>
<c:until end="3/1/2023 09:00" pattern="MM/dd/yyyy HH:mm">New feature</c:until>