XLA routines: EE_FirstDayOfMonth
EE_FirstDayOfMonth takes a date and returns the first day of the month that the date is in.
Function EE_FirstDayOfMonth(dt As Date) As Date 'Takes a date and returns the 1st day of the month 'http://excelexperts.com/xla-routines-eeFirstDayOfMonth for updates on this function EE_FirstDayOfMonth = Format(Month(dt) & "/1/" & Year(dt), "mm/dd/yyyy") End Function
»
- Nick's blog
- Login or register to post comments
- 2774 reads
Recent comments
5 years 41 weeks ago
6 years 27 weeks ago
6 years 39 weeks ago
6 years 42 weeks ago
6 years 43 weeks ago
6 years 48 weeks ago
7 years 4 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago