REQ: script to calculate # of months
looking script calculate # of months between 2 dates ( 2 decimals points )
or if there way make calculation of number # of months
for example: if go google , 75 days - months , returns value of 2.46
this looking for
can assist ?
with either date calculation or number calculation ?
i have tried # of days / 365 x 12 doesn't decimal points. keeps rounding up/down
this odd calculation. what's 1 month? 30 days? 31 days? 29 days? 28 days? 30.5 days?
anyway, result of calculation should produce number fractions. should make sure field not set show 0 decimal digits.
More discussions in JavaScript
adobe
Comments
Post a Comment