Hello all,

I have a scheduled transaction that I pay monthly which is a fixed amount
per day.  I'd love to be able to have is automatically entrer based on the
number of days per month.  I pay on the 1st (or the first business day
after that) so basically I'd like to use the following formula:

Amount = NumDaysInPreviousMonth * AmountPerDay

I looked through the guide
<https://wiki.gnucash.org/wiki/Scheduled_Transactions> and didn't see
anything.  It references fin.scm (link throws a 404 by the way) but I
didn't see anything here that calculated the number of days in the previous
month (but perhaps I missed it in the SCM code.)

This seems like a simple use case, am I missing something? Perhaps I'll
need to write a function in fin.scm that can return the number of days in a
provided month.  No idea how to use scheme, but I'm sure I can figure it
out.

Thoughts?

Thank you.

Michael
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to