<iDATEDIFF> Tag
<iDATEDIFF | DATE1="first date" | |
DATE2="second date" | ||
[RESULT="<DAYS | WEEKS | MONTHS | YEARS>"] | (DAYS) | |
> |
Usage | This tag will return the difference in either days, weeks, months or years between two dates based on the RESULT directive. This provides an absolute value of the difference. This tag can be used in a number of situations in which you need to know how many days are between two dates. |
Note | This tag does not work correctly with dates before January 1st, 1970 due to a limitation with the C mktime function. |