DIGIFORMS
Digiforms Designer Documentation
Search
About
+
Getting started
+
Howto
Help by samples
+
Objects
+
Page template
Capture or output data in a defined layout
+
XML
Extensible Markup Language
XML
XML Data
Datasources
Digiforms Built-in datasources
datediff.jsp
util/calendar
Use
Uses datediff.jsp to check interval in days comparing provided start and end date.
The returned result is an XML containing provided input parameters, and a section with the duration between the provided dates.
fromday
frommonth
fromyear
today
tomonth
toyear
https://server/digiforms/util/calendar/datediff.jsp?fromday=1&frommonth=2&fromyear=2018&today=1&tomonth=1&toyear=2018
<?xml version="1.0" encoding="utf-8"?> <date toyear="2018" tomonth="1" today="1" fromyear="2018" frommonth="2" fromday="1"> <offset hours="0" days="-31"></offset> </date>
xml
Edit article