Calculate Last Day of Last Month
DateAdd("d", -1.0 * DatePart("d", Today), Today)
DZone Snippets > jokeyxero > vbnet
12388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
DateAdd("d", -1.0 * DatePart("d", Today), Today)
DateAdd("D", -1.0 * DatePart("D", Today) + 1, Today)
DateAdd("D", -1.0 * DatePart("D", Today) + 1, DateAdd("m", -1, Today))