<@UD525HEUD> It's not ideal, but you could try con...
# advancedpdf
s
@pnetsuite It's not ideal, but you could try converting both dates to numbers using the
?long
directive and subtract them. You would then have to convert the time difference from milliseconds to days (and truncate or round to a whole day). This won't work perfectly though, when crossing daylight savings boundaries or leap seconds, or any other situation when a day is not exactly 24 hours. Something like the following:
Copy code
<#if ((.now?long - line.datecol?long) / 86400000)?round gte 0>
   ${((.now?long - line.datecol?long) / 86400000)?round}
</#if>