Example:
What was the date 50 days ago?
Computation (@{sys:date}= today,-50 minus 50,unit=day unit for day)
<edate id=test><we date= "@{sys:date}" operation= " -50" unit= "Day"/></edate>
Output calculation results
<p><b> results: </b>50 days ago is @{test:date}</p> complete output result
<b> full output </b>
<table border=1>
<tr><th>key</th><th>value</th ></tr>
<for end= "@{test:getwidth}" >
<tr><td>@{test:@{for:getsuffix}}</td ><td>@{test:@{test:@{for:getSuffix}}}</td></tr>
</for>
</table>
Effect
Complete code
The desired result item can be removed by @{test:key}
(example file: _samples/date-50day.html) in the _samples directory of the light open platform
Try to figure out what the date is in 50 days.
Easy Internet Development platform (easily do IT) resource download
Platform and latest development manuals free Download: http://download.csdn.net/detail/tx18/8464425
Development example: Light Open Business E-commerce website , free download: http://download.csdn.net/detail/tx18/8318585
Open platform will not be regularly upgraded to provide you with more powerful and easy features, please pay attention to download the latest version
Calculation