Jan 23
Obtener último dÃa del mes - ASP
Pues eso!! le pasas una fecha y te devuelve el último dÃa del mes que puede tener esa fecha ;)
Function lastMonthDay(byval sDate)'obtiene el ultimo dia del mes
dim nextMonth
sDate = DateSerial(Year(sDate), Month(sDate), "01")
nextMonth = DateAdd("m", 1, SDate)
lastMonthDay = Day(DateAdd("d", -1, nextMonth))
End Function
