Anyone know how I could calculate how many days between two dates, using this extension?
I know I can set today's date by using the extension, but can i make a date attribute somehow, and then do the calculation?
I now the calculation should be this:
today = [get current Year + get current month + get current day]
expiryDate = [2013-12-1]
difference = today - expirydate
daysleft = floor(difference/(60*60*24))
but it won't work as today and expiry dates are strings. the attributes need to be dates.