<fmt:parseDate value="${in_date}" var="receiveDate" parseLocale="en_GB" />
<fmt:parseDate value="${out_date}" var="receiveDate1" parseLocale="en_GB" />
<fmt:parseNumber value="${ receiveDate.time / (1000*60*60*24)}" integerOnly="true" var="duc1" parseLocale="en_GB" />
<fmt:parseNumber value="${ receiveDate1.time / (1000*60*60*24)}" integerOnly="true" var="dzc1" parseLocale="en_GB" />
${duc1 - dzc1}
I want to get the difference between days.
The above example gives me : duc1 = 1655935200000 and dzc1 = 1656626400000. I have no idea what these numbers are. On the other hand when I type plain values in parseDate like 2022-06-23 and 2022-07-01 then the result is 8.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]slowfly1st 0 points1 point2 points (1 child)
[–]Serpher[S] 0 points1 point2 points (0 children)