View source: R/days_in_fmonth.R
| days_in_fmonth | R Documentation | 
Used for calculating denominators in monthly scripts.
days_in_fmonth(month_no, fyear)
month_no | 
 numeric month of financial year, where 1 = April  | 
fyear | 
 4 character financial year where 2012 is year 2012/13  | 
numeric value for number of days in month
days_in_fmonth(1, 2017)
x <- days_in_fmonth(1, 2017)
class(x)
days_in_fmonth(11, 2012) # February on a leap year
days_in_fmonth(11, 2013) # February on an ordinary year
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.