Group: microsoft.public.access.modulesdaovba · Group Profile · Search for Last Day Of The Month in microsoft.public.access.modulesdaovba
Author: John Spencer
Date: Sep 12, 2008 10:05
The last day of the month is: DateSerial(Year([MyDate]), Month([MyDate]) + 1, 0) Replace MyDate with the name of your date field. Access handles that correctly, even for December. If you just want the day number, add Day() around the expression. -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather
|