You can use the Depreciation Period (DP) ((The number of days in a period)) and the Fiscal Year (FY) ((The number of days in a fiscal year)) in a custom depreciation formula to do this. If you're after this for tax purposes, there's also a Period Convention setting (Exact number of days in month) that does exactly this automatically for FAM Alternate Methods.