Calculate Last Day of Last Month
1 2 DateAdd("d", -1.0 * DatePart("d", Today), Today)
DZone Snippets > jokeyxero > date
12843 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
1 2 DateAdd("d", -1.0 * DatePart("d", Today), Today)
1 2 DateAdd("D", -1.0 * DatePart("D", Today) + 1, Today)
1 2 DateAdd("D", -1.0 * DatePart("D", Today) + 1, DateAdd("m", -1, Today))