Post Reply 
DDAYS and "financial" year
05-17-2015, 09:58 PM
Post: #2
RE: DDAYS and "financial" year
maybe it's enough a formula as n:=30*(mm2-mm1)+dd2-dd1 like in my program to calc Simple Interest...
dd1, dd2 are days, mm1, mm2 months ...

However attention for a problem in DDAYS: it doesn't control for "typical" errors:
i.e. DDAYS(2015.0201,2015.0229) gives "Error: invalid input", as Feb 29 doesn't exists (in 2015)...
We need also a leap year control :-)

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DDAYS and "financial" year - salvomic - 05-17-2015, 09:25 AM
RE: DDAYS and "financial" year - salvomic - 05-17-2015 09:58 PM
RE: DDAYS and "financial" year - rkf - 05-19-2015, 12:58 PM
RE: DDAYS and "financial" year - Joe Horn - 05-20-2015, 03:12 AM



User(s) browsing this thread: 1 Guest(s)