Is there an easy way to calculate for a date that is some months later or earlier?
e.g. consider 3 months later. I have for instance 30/11/2016 and I would like to use 28/02/2017 for a check. Or I have 31/08/2016 and then I need to calculate 30/11/2016 to do my check. Since 3 months is not just 180days, I don’t see an easy way to do this.
I think I can manage something using a combination of different date-formats, but I guess I would need very much code to do this.
As you probably know, there is a way in Silverfin to check on a period (and their begin- and end date) if they exist or not. But I have a feeling that’s not what you’re looking for. You want to check on the end-date of every month, no matter which frequency you use (month, quarter or year) in Silverfin ?
However, I’m not sure if I understand the case you’re going for here from an accountancy standpoint. Can you give me more info on this?
Indeed Sven, that’s not really what I am looking for.
If I check for the end of period date, I for instance get 31/03/2017. I then like to do a check on the date 6 months later (e.g. filing of the annual account), which means that I need to get 30/09/2017. As I mentioned, since this is not just 180d later, I don’t see an easy way to calculate for this 30/09/2017 date…
But this is a lot of code for a simple task IMO, so we’ll add this to the feature list that we can create some extra coding on our end (an extra filter or some sort you can use easily without doing above code).
This is also the reason I’m not gonna create a case out of this, because it doesn’t add easy use of Liquid code.